ConditionInterface::getConjunction

public ConditionInterface::getConjunction() Gets the current conjunction. Return value string Can be AND or OR. File core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 16 Class ConditionInterface Defines the entity query condition interface. Namespace Drupal\Core\Entity\Query Code public function getConjunction();

ConditionInterface::exists

public ConditionInterface::exists($field, $langcode = NULL) Queries for the existence of a field. Parameters $field: string $langcode: Return value ConditionInterface See also \Drupal\Core\Entity\Query\QueryInterface::exists() File core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 47 Class ConditionInterface Defines the entity query condition interface. Namespace Drupal\Core\Entity\Query Code public function exists($field, $langcode = NULL);

ConditionInterface::exists

public ConditionInterface::exists(SelectInterface $select) Sets a condition that the specified subquery returns values. Parameters \Drupal\Core\Database\Query\SelectInterface $select: The subquery that must contain results. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 99 Class ConditionInterface Interface for a conditional clause in a query. Namespace Drupal\Core\Database\Query Cod

ConditionInterface::evaluate

public ConditionInterface::evaluate() Evaluates the condition and returns TRUE or FALSE accordingly. Return value bool TRUE if the condition has been met, FALSE otherwise. File core/lib/Drupal/Core/Condition/ConditionInterface.php, line 61 Class ConditionInterface An interface for condition plugins. Namespace Drupal\Core\Condition Code public function evaluate();

ConditionInterface::count

public ConditionInterface::count() Implements \Countable::count(). Returns the size of this conditional. The size of the conditional is the size of its conditional array minus one, because one element is the conjunction. File core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 25 Class ConditionInterface Defines the entity query condition interface. Namespace Drupal\Core\Entity\Query Code public function count();

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();

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. The data structure that is returned is an indexed array of entries, where each entry looks like the following: array( 'field' => $field, 'value' => $value, 'operator' => $operator, ); In the special case that $operator is NULL, the

ConditionInterface::conditionGroupFactory

public ConditionInterface::conditionGroupFactory($conjunction = 'AND') Creates an object holding a group of conditions. See andConditionGroup() and orConditionGroup() for more. Parameters $conjunction: AND (default): this is the equivalent of andConditionGroup(). OR: this is the equivalent of andConditionGroup(). Return value \Drupal\Core\Database\Query\ConditionInterface An object holding a group of conditions. File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 179

ConditionInterface::condition

public ConditionInterface::condition($field, $value = NULL, $operator = NULL, $langcode = NULL) Adds a condition. Parameters string|\Drupal\Core\Entity\Query\ConditionInterface $field: mixed $value: string $operator: string $langcode: Return value ConditionInterface See also \Drupal\Core\Entity\Query\QueryInterface::condition() File core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 37 Class ConditionInterface Defines the entity query condition interface. Namespace Drupal

ConditionInterface::condition

public ConditionInterface::condition($field, $value = NULL, $operator = '=') Helper function: builds the most common conditional clauses. This method can take a variable number of parameters. If called with two parameters, they are taken as $field and $value with $operator having a value of =. Do not use this method to test for NULL values. Instead, use QueryConditionInterface::isNull() or QueryConditionInterface::isNotNull(). Drupal considers LIKE case insensitive and the following is often us