ConditionInterface::isNegated

public ConditionInterface::isNegated() Determines whether condition result will be negated. Return value bool Whether the condition result will be negated. File core/lib/Drupal/Core/Condition/ConditionInterface.php, line 53 Class ConditionInterface An interface for condition plugins. Namespace Drupal\Core\Condition Code public function isNegated();

ConditionInterface::isNotNull

public ConditionInterface::isNotNull($field) Sets a condition that the specified field be NOT NULL. Parameters $field: The name of the field to check. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 88 Class ConditionInterface Interface for a conditional clause in a query. Namespace Drupal\Core\Database\Query Code public function isNotNull($field);

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::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::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::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::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::compile

public ConditionInterface::compile(Connection $connection, PlaceholderInterface $queryPlaceholder) Compiles the saved conditions for later retrieval. This method does not return anything, but simply prepares data to be retrieved via __toString() and arguments(). Parameters $connection: The database connection for which to compile the conditionals. $queryPlaceholder: The query this condition belongs to. If not given, the current query is used. File core/lib/Drupal/Core/Database/Query/ConditionI