function QueryFactory::__construct

Same name in this branch
  1. 9.x drupal/core/lib/Drupal/Core/Entity/Query/QueryFactory.php \Drupal\Core\Entity\Query\QueryFactory::__construct()
  2. 9.x drupal/core/modules/field/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/QueryFactory.php \Drupal\field_sql_storage\Entity\QueryFactory::__construct()

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container:

File

drupal/core/lib/Drupal/Core/Entity/Query/QueryFactory.php, line 26
Definition of Drupal\Core\Entity\Query\QueryFactory.

Class

QueryFactory
Factory class Creating entity query objects.

Namespace

Drupal\Core\Entity\Query

Code

function __construct(ContainerInterface $container) {
  $this->container = $container;
}