You are here

public function PgsqlQueryFactory::get in Workspace 8.2

Instantiates an entity query for a given entity type.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

string $conjunction: The operator to use to combine conditions: 'AND' or 'OR'.

Return value

\Drupal\Core\Entity\Query\QueryInterface An entity query for a specific configuration entity type.

Overrides QueryFactory::get

File

src/EntityQuery/PgsqlQueryFactory.php, line 40

Class

PgsqlQueryFactory
Workspace PostgreSQL specific entity query implementation.

Namespace

Drupal\workspace\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);
}