public function QueryAggregateInterface::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.

1 method overrides QueryAggregateInterface::conditionAggregateGroupFactory()

File

drupal/core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php, line 119
Contains \Drupal\Core\Entity\Query\QueryAggregateInterface.

Class

QueryAggregateInterface
Defines a interface for aggregated entity queries.

Namespace

Drupal\Core\Entity\Query

Code

public function conditionAggregateGroupFactory($conjunction = 'AND');