public function QueryBase::condition

Implements Drupal\Core\Entity\Query\QueryInterface::condition().

Overrides QueryInterface::condition

File

drupal/core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 96
Definition of Drupal\Core\Entity\Query\QueryBase.

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;
}