function QueryFactory::__construct

Constructs a QueryFactory object.

File

core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php, line 32

Class

QueryFactory
Provides a factory for creating the key value entity query.

Namespace

Drupal\Core\Entity\KeyValueStore\Query

Code

public function __construct(KeyValueFactoryInterface $key_value_factory) {
  $this->keyValueFactory = $key_value_factory;
  $this->namespaces = Query::getNamespaces($this);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.