public function 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 drupal/core/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/ConditionAggregate.php
Implements \Drupal\Core\Entity\Query\ConditionInterface::exists().

File

drupal/core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php, line 46
Contains \Drupal\Core\Entity\Query\ConditionAggregateInterface.

Class

ConditionAggregateInterface
Defines aggregated entity query conditions.

Namespace

Drupal\Core\Entity\Query

Code

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