function QueryBase::condition

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/Query/QueryBase.php \Drupal\Core\Entity\Query\QueryBase::condition()
  2. 10 core/lib/Drupal/Core/Entity/Query/QueryBase.php \Drupal\Core\Entity\Query\QueryBase::condition()
  3. 11.x core/lib/Drupal/Core/Entity/Query/QueryBase.php \Drupal\Core\Entity\Query\QueryBase::condition()

Overrides QueryInterface::condition

1 call to QueryBase::condition()
Query::condition in core/lib/Drupal/Core/Config/Entity/Query/Query.php
Overrides \Drupal\Core\Entity\Query\QueryBase::condition().
1 method overrides QueryBase::condition()
Query::condition in core/lib/Drupal/Core/Config/Entity/Query/Query.php
Overrides \Drupal\Core\Entity\Query\QueryBase::condition().

File

core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 171

Class

QueryBase
The base entity query class.

Namespace

Drupal\Core\Entity\Query

Code

public function condition($property, $value = NULL, $operator = NULL, $langcode = NULL) {
    $this->condition
        ->condition($property, $value, $operator, $langcode);
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.