public function ConditionAggregateInterface::exists in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php \Drupal\Core\Entity\Query\ConditionAggregateInterface::exists()
Queries for the existence of a field.
Parameters
string $field:
string $function:
string $langcode:
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 45
Class
- ConditionAggregateInterface
- Defines aggregated entity query conditions.
Namespace
Drupal\Core\Entity\QueryCode
public function exists($field, $function, $langcode = NULL);