QueryFactory::__construct

public QueryFactory::__construct(EntityManagerInterface $entity_manager)

Constructs a QueryFactory object.

Parameters

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager used by the query.

File

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

Class

QueryFactory
Factory class Creating entity query objects.

Namespace

Drupal\Core\Entity\Query

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}
doc_Drupal
2016-10-29 09:35:55
Comments
Leave a Comment

Please login to continue.