QueryFactory::__construct

public QueryFactory::__construct(KeyValueFactoryInterface $key_value_factory)

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);
}
doc_Drupal
2016-10-29 09:35:55
Comments
Leave a Comment

Please login to continue.