public function QueryConditionTrait::condition in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php \Drupal\Core\Database\Query\QueryConditionTrait::condition()
1 call to QueryConditionTrait::condition()
- Merge::keys in core/
lib/ Drupal/ Core/ Database/ Query/ Merge.php - Sets the key fields to be used as conditions for this query.
File
- core/
lib/ Drupal/ Core/ Database/ Query/ QueryConditionTrait.php, line 31 - Contains \Drupal\Core\Database\Query\QueryConditionTrait.
Class
- QueryConditionTrait
- Provides an implementation of ConditionInterface.
Namespace
Drupal\Core\Database\QueryCode
public function condition($field, $value = NULL, $operator = '=') {
$this->condition
->condition($field, $value, $operator);
return $this;
}