public function ConditionInterface::compile

Same name in this branch
  1. 8.x drupal/core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::compile()
  2. 8.x drupal/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.

2 methods override ConditionInterface::compile()
Condition::compile in drupal/core/lib/Drupal/Core/Config/Entity/Query/Condition.php
Implements \Drupal\Core\Entity\Query\ConditionInterface::compile().
Condition::compile in drupal/core/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/Condition.php
Implements Drupal\Core\Entity\Query\ConditionInterface::compile().

File

drupal/core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 79
Contains \Drupal\Core\Entity\ConditionInterface.

Class

ConditionInterface
Defines the entity query condition interface.

Namespace

Drupal\Core\Entity\Query

Code

public function compile($query);