W3cubDocs

/Drupal 8

public function ConditionInterface::conditions

public &ConditionInterface::conditions()

Gets a complete list of all conditions in this conditional clause.

This method returns by reference. That allows alter hooks to access the data structure directly and manipulate it before it gets compiled.

Return value

array

File

core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 66

Class

ConditionInterface
Defines the entity query condition interface.

Namespace

Drupal\Core\Entity\Query

Code

public function &conditions();

© 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!ConditionInterface.php/function/ConditionInterface::conditions/8.1.x