function ConditionInterface::compile
Same name in this branch
- 10 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::compile()
Same name in other branches
- 9 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::compile()
- 9 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::compile()
- 8.9.x core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::compile()
- 8.9.x core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::compile()
- 11.x core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::compile()
- 11.x 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/ Config/ Entity/ Query/ Condition.php - Condition::compile in core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ Condition.php - Condition::compile in core/
lib/ Drupal/ Core/ Entity/ Query/ Null/ Condition.php
File
-
core/
lib/ Drupal/ Core/ Entity/ Query/ ConditionInterface.php, line 91
Class
- ConditionInterface
- Defines the entity query condition interface.
Namespace
Drupal\Core\Entity\QueryCode
public function compile($query);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.