public function ConditionSetInterface::addConditionGroup in Search API 8
Adds a nested condition group.
Parameters
\Drupal\search_api\Query\ConditionGroupInterface $condition_group: A condition group that should be added.
Return value
$this
2 methods override ConditionSetInterface::addConditionGroup()
- ConditionGroup::addConditionGroup in src/
Query/ ConditionGroup.php - Adds a nested condition group.
- Query::addConditionGroup in src/
Query/ Query.php - Adds a nested condition group.
File
- src/
Query/ ConditionSetInterface.php, line 53
Class
- ConditionSetInterface
- Defines a common interface for objects which can hold conditions.
Namespace
Drupal\search_api\QueryCode
public function addConditionGroup(ConditionGroupInterface $condition_group);