function QueryAggregateInterface::conditionAggregateGroupFactory
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php \Drupal\Core\Entity\Query\QueryAggregateInterface::conditionAggregateGroupFactory()
- 10 core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php \Drupal\Core\Entity\Query\QueryAggregateInterface::conditionAggregateGroupFactory()
- 11.x core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php \Drupal\Core\Entity\Query\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.
2 methods override QueryAggregateInterface::conditionAggregateGroupFactory()
- Query::conditionAggregateGroupFactory in core/
lib/ Drupal/ Core/ Entity/ Query/ Null/ Query.php - Creates an object holding a group of conditions.
- QueryAggregate::conditionAggregateGroupFactory in core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ QueryAggregate.php - Creates an object holding a group of conditions.
File
-
core/
lib/ Drupal/ Core/ Entity/ Query/ QueryAggregateInterface.php, line 112
Class
- QueryAggregateInterface
- Defines an interface for aggregated entity queries.
Namespace
Drupal\Core\Entity\QueryCode
public function conditionAggregateGroupFactory($conjunction = 'AND');
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.