function QueryFactory::get

Overrides QueryFactory::get

File

core/modules/workspaces/src/EntityQuery/QueryFactory.php, line 40

Class

QueryFactory
Workspaces-specific entity query implementation.

Namespace

Drupal\workspaces\EntityQuery

Code

public function get(EntityTypeInterface $entity_type, $conjunction) {
  $class = QueryBase::getClass($this->namespaces, 'Query');
  return new $class($entity_type, $conjunction, $this->connection, $this->namespaces, $this->workspaceManager);
}

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