public Query::__construct(EntityTypeInterface $entity_type, $conjunction, array $namespaces, KeyValueFactoryInterface$key_value_factory)
Constructs a new Query.
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.
string $conjunction:
array $namespaces: List of potential namespaces of the classes belonging to this query.
\Drupal\Core\KeyValueStore\KeyValueFactoryInterface $key_value_factory: The key value factory.
Overrides QueryBase::__construct
public function __construct(EntityTypeInterface $entity_type, $conjunction, array $namespaces, KeyValueFactoryInterface $key_value_factory) { parent::__construct($entity_type, $conjunction, $namespaces); $this->keyValueFactory = $key_value_factory; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!KeyValueStore!Query!Query.php/function/Query::__construct/8.1.x