Tables::__construct

public Tables::__construct(SelectInterface $sql_query)

Parameters

\Drupal\Core\Database\Query\SelectInterface $sql_query:

File

core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 56

Class

Tables
Adds tables and fields to the SQL entity query.

Namespace

Drupal\Core\Entity\Query\Sql

Code

1
2
3
4
public function __construct(SelectInterface $sql_query) {
  $this->sqlQuery = $sql_query;
  $this->entityManager = \Drupal::entityManager();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.