public function QueryBase::exists

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

Overrides QueryInterface::exists

File

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

Class

QueryBase
The base entity query class.

Namespace

Drupal\Core\Entity\Query

Code

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