You are here

public function ConditionInterface::compile in Drupal 9

Same name in this branch
  1. 9 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::compile()
  2. 9 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::compile()
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::compile()

Compiles this conditional clause.

Parameters

$query: The query object this conditional clause belongs to.

3 methods override ConditionInterface::compile()
Condition::compile in core/lib/Drupal/Core/Entity/Query/Sql/Condition.php
Compiles this conditional clause.
Condition::compile in core/lib/Drupal/Core/Entity/Query/Null/Condition.php
Compiles this conditional clause.
Condition::compile in core/lib/Drupal/Core/Config/Entity/Query/Condition.php
Compiles this conditional clause.

File

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

Class

ConditionInterface
Defines the entity query condition interface.

Namespace

Drupal\Core\Entity\Query

Code

public function compile($query);