You are here

public function Query::conditionAggregateGroupFactory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Query/Null/Query.php \Drupal\Core\Entity\Query\Null\Query::conditionAggregateGroupFactory()

Creates an object holding a group of conditions.

See andConditionAggregateGroup() and orConditionAggregateGroup() for more.

Parameters

string $conjunction:

  • AND (default): this is the equivalent of andConditionAggregateGroup().
  • OR: this is the equivalent of andConditionAggregateGroup().

Return value

ConditionInterface An object holding a group of conditions.

Overrides QueryAggregateInterface::conditionAggregateGroupFactory

File

core/lib/Drupal/Core/Entity/Query/Null/Query.php, line 47
Contains \Drupal\Core\Entity\Query\Null\Query.

Class

Query
Defines the entity query for configuration entities.

Namespace

Drupal\Core\Entity\Query\Null

Code

public function conditionAggregateGroupFactory($conjunction = 'AND') {
  return new ConditionAggregate($conjunction, $this);
}