W3cubDocs

/Drupal 8

public function QueryAggregateInterface::conditionAggregateGroupFactory

public QueryAggregateInterface::conditionAggregateGroupFactory($conjunction = 'AND')

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.

File

core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php, line 112

Class

QueryAggregateInterface
Defines a interface for aggregated entity queries.

Namespace

Drupal\Core\Entity\Query

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Query!QueryAggregateInterface.php/function/QueryAggregateInterface::conditionAggregateGroupFactory/8.1.x