ConditionBase

Defines a common base class for all entity condition implementations. Hierarchy class \Drupal\Core\Entity\Query\ConditionFundamentalsclass \Drupal\Core\Entity\Query\ConditionBase implements ConditionInterface File core/lib/Drupal/Core/Entity/Query/ConditionBase.php, line 8 Namespace Drupal\Core\Entity\Query Members Name Modifiers Type Description ConditionBase::condition public function Adds a condition. Overrides ConditionInterface::condition ConditionFundamentals::$

ConditionAggregateInterface::exists

public ConditionAggregateInterface::exists($field, $function, $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/ConditionAggregateInterface.php, line 41 Class ConditionAggregateInterface Defines aggregated entity query conditions. Namespace Drupal\Core\Entity\Query Code public function exists($field, $function,

ConditionAggregateInterface::condition

public ConditionAggregateInterface::condition($field, $function = NULL, $value = NULL, $operator = NULL, $langcode = NULL) Adds a condition. Parameters string|ConditionAggregateInterface $field: string $function: mixed $value: string $operator: string $langcode: Return value \Drupal\Core\Entity\Query\ConditionAggregateInterface The called object. See also \Drupal\Core\Entity\Query\QueryInterface::condition() File core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php, line 31 C

ConditionAggregateInterface

Defines aggregated entity query conditions. Hierarchy interface \Drupal\Core\Entity\Query\ConditionAggregateInterface extends \Countable File core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php, line 8 Namespace Drupal\Core\Entity\Query Members Name Modifiers Type Description ConditionAggregateInterface::compile public function Compiles this conditional clause. ConditionAggregateInterface::condition public function Adds a condition. ConditionAggreg

ConditionAggregateInterface::conditions

public &ConditionAggregateInterface::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/ConditionAggregateInterface.php, line 60 Class ConditionAggregateInterface Defines aggregated entity query conditions. Namespace Drupal\Core\Entity\Query Code public funct

ConditionAggregateInterface::compile

public ConditionAggregateInterface::compile($query) Compiles this conditional clause. Parameters $query: The query object this conditional clause belongs to. File core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php, line 68 Class ConditionAggregateInterface Defines aggregated entity query conditions. Namespace Drupal\Core\Entity\Query Code public function compile($query);

ConditionAggregate::notExists

public ConditionAggregate::notExists($field, $function, $langcode = NULL) Queries for the nonexistence of a field. Parameters string $field: Return value ConditionInterface; Overrides ConditionAggregateInterface::notExists See also \Drupal\Core\Entity\Query\QueryInterface::notexists() File core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php, line 57 Class ConditionAggregate Defines the aggregate condition for sql based storage. Namespace Drupal\Core\Entity\Query\Sql Code pu

ConditionAggregateBase

Defines a common base class for all aggregation entity condition implementations. Hierarchy class \Drupal\Core\Entity\Query\ConditionFundamentalsclass \Drupal\Core\Entity\Query\ConditionAggregateBase implements ConditionAggregateInterface File core/lib/Drupal/Core/Entity/Query/ConditionAggregateBase.php, line 8 Namespace Drupal\Core\Entity\Query Members Name Modifiers Type Description ConditionAggregateBase::condition public function Adds a condition. Overrides Conditio

ConditionAggregateBase::condition

public ConditionAggregateBase::condition($field, $function = NULL, $value = NULL, $operator = NULL, $langcode = NULL) Adds a condition. Parameters string|ConditionAggregateInterface $field: string $function: mixed $value: string $operator: string $langcode: Return value \Drupal\Core\Entity\Query\ConditionAggregateInterface The called object. Overrides ConditionAggregateInterface::condition See also \Drupal\Core\Entity\Query\QueryInterface::condition() File core/lib/Drupal/Core/Entity/Query/C

ConditionAggregate::compile

public ConditionAggregate::compile($conditionContainer) Compiles this conditional clause. Parameters $query: The query object this conditional clause belongs to. Overrides ConditionAggregateInterface::compile File core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php, line 19 Class ConditionAggregate Defines the aggregate condition for sql based storage. Namespace Drupal\Core\Entity\Query\Sql Code public function compile($conditionContainer) { // If this is not the top level