You are here

public function Tables::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Query/Sql/Tables.php \Drupal\Core\Entity\Query\Sql\Tables::__construct()

Parameters

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

File

core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 60
Contains \Drupal\Core\Entity\Query\Sql\Tables.

Class

Tables
Adds tables and fields to the SQL entity query.

Namespace

Drupal\Core\Entity\Query\Sql

Code

public function __construct(SelectInterface $sql_query) {
  $this->sqlQuery = $sql_query;
  $this->entityManager = \Drupal::entityManager();
}