function ConditionAggregateInterface::exists
Queries for the existence of a field.
Parameters
string $field: The field to query for existence.
string $function: The function.
string $langcode: (optional) For which language the entity should be prepared, defaults to the current content language.
Return value
\Drupal\Core\Entity\Query\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 55
Class
- ConditionAggregateInterface
- Defines aggregated entity query conditions.
Namespace
Drupal\Core\Entity\QueryCode
public function exists($field, $function, $langcode = NULL);