function ConditionAggregateInterface::exists

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

Queries for the existence of a field.

Parameters

$field:

string $langcode:

Return value

ConditionInterface

See also

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

1 method overrides ConditionAggregateInterface::exists()
ConditionAggregate::exists in core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php
Queries for the existence of a field.

File

core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php, line 42

Class

ConditionAggregateInterface
Defines aggregated entity query conditions.

Namespace

Drupal\Core\Entity\Query

Code

public function exists($field, $function, $langcode = NULL);

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