function ConditionAggregateInterface::exists
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php \Drupal\Core\Entity\Query\ConditionAggregateInterface::exists()
- 8.9.x core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php \Drupal\Core\Entity\Query\ConditionAggregateInterface::exists()
- 11.x core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php \Drupal\Core\Entity\Query\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
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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.