You are here

public function ConditionGroup::getConditions in Entity API 8

Gets all conditions and nested condition groups.

Return value

\Drupal\entity\QueryAccess\Condition[]|\Drupal\entity\QueryAccess\ConditionGroup[] The conditions, where each one is either a Condition or a nested ConditionGroup. Returned by reference, to allow callers to replace or remove conditions.

File

src/QueryAccess/ConditionGroup.php, line 89

Class

ConditionGroup
Represents a group of query access conditions.

Namespace

Drupal\entity\QueryAccess

Code

public function &getConditions() {
  return $this->conditions;
}