public function ConditionGroupInterface::getConditions in Search API 8
Retrieves all conditions and nested condition groups of this object.
Return value
\Drupal\search_api\Query\ConditionInterface[]|\Drupal\search_api\Query\ConditionGroupInterface[] An array containing this object's conditions. Each of these is either a simple condition, represented as an object of type \Drupal\search_api\Query\ConditionInterface, or a nested condition group, represented by a \Drupal\search_api\Query\ConditionGroupInterface object. Returned by reference so it's possible, for example, to remove conditions.
1 method overrides ConditionGroupInterface::getConditions()
- ConditionGroup::getConditions in src/
Query/ ConditionGroup.php - Retrieves all conditions and nested condition groups of this object.
File
- src/
Query/ ConditionGroupInterface.php, line 32
Class
- ConditionGroupInterface
- Represents a condition group on a search query.
Namespace
Drupal\search_api\QueryCode
public function &getConditions();