Query::__construct

public function Query::__construct

public Query::__construct(EntityTypeInterface $entity_type, $conjunction, array $namespaces, KeyValueFactoryInterface $key_value_factory)

Constructs a new Query.

Parameters

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

string $conjunction:

  • AND: all of the conditions on the query need to match.
  • OR: at least one of the conditions on the query need to match.

array $namespaces: List of potential namesp