Condition::compile

public Condition::compile($configs) Compiles this conditional clause. Parameters $query: The query object this conditional clause belongs to. Overrides ConditionInterface::compile File core/lib/Drupal/Core/Config/Entity/Query/Condition.php, line 20 Class Condition Defines the condition class for the config entity query. Namespace Drupal\Core\Config\Entity\Query Code public function compile($configs) { $and = strtoupper($this->conjunction) == 'AND'; $single_conditions = array();

Condition::compile

public Condition::compile($query) Compiles this conditional clause. Parameters $query: The query object this conditional clause belongs to. Overrides ConditionInterface::compile File core/lib/Drupal/Core/Entity/Query/Null/Condition.php, line 15 Class Condition Defines the condition class for the null entity query. Namespace Drupal\Core\Entity\Query\Null Code public function compile($query) { }

Condition::compile

public Condition::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. Overrides ConditionInterface::compile File core/lib/Drupal/C

Condition::arguments

public Condition::arguments() Gets a complete list of all values to insert into the prepared statement. Return value An associative array of placeholders and values. Overrides ConditionInterface::arguments File core/lib/Drupal/Core/Database/Query/Condition.php, line 137 Class Condition Generic class for a series of conditions in a query. Namespace Drupal\Core\Database\Query Code public function arguments() { // If the caller forgot to call compile() first, refuse to run. if ($this

Condition::andConditionGroup

public Condition::andConditionGroup() Creates a new group of conditions ANDed together. Return value \Drupal\Core\Database\Query\ConditionInterface Overrides ConditionInterface::andConditionGroup File core/lib/Drupal/Core/Database/Query/Condition.php, line 345 Class Condition Generic class for a series of conditions in a query. Namespace Drupal\Core\Database\Query Code public function andConditionGroup() { return $this->conditionGroupFactory('AND'); }

Condition::$queryPlaceholderIdentifier

The identifier of the query placeholder this condition has been compiled against. File core/lib/Drupal/Core/Database/Query/Condition.php, line 40 Class Condition Generic class for a series of conditions in a query. Namespace Drupal\Core\Database\Query Code protected $queryPlaceholderIdentifier;

Condition::$query

The SQL entity query object this condition belongs to. Type: \Drupal\Core\Entity\Query\Sql\Query Overrides ConditionFundamentals::$query File core/lib/Drupal/Core/Entity/Query/Sql/Condition.php, line 20 Class Condition Implements entity query conditions for SQL databases. Namespace Drupal\Core\Entity\Query\Sql Code protected $query;

Condition::$module

The name of the module providing the type. Type: string File core/lib/Drupal/Core/Condition/Annotation/Condition.php, line 49 Class Condition Defines a condition plugin annotation object. Namespace Drupal\Core\Condition\Annotation Code public $module;

Condition::$label

The human-readable name of the condition. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/Condition/Annotation/Condition.php, line 42 Class Condition Defines a condition plugin annotation object. Namespace Drupal\Core\Condition\Annotation Code public $label;

Condition::$id

The condition plugin ID. Type: string File core/lib/Drupal/Core/Condition/Annotation/Condition.php, line 33 Class Condition Defines a condition plugin annotation object. Namespace Drupal\Core\Condition\Annotation Code public $id;