public function ConditionInterface::notExists in Drupal 10
Same name in this branch
- 10 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::notExists()
- 10 core/lib/Drupal/Core/Database/Query/ConditionInterface.php \Drupal\Core\Database\Query\ConditionInterface::notExists()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::notExists()
- 9 core/lib/Drupal/Core/Entity/Query/ConditionInterface.php \Drupal\Core\Entity\Query\ConditionInterface::notExists()
Queries for the nonexistence of a field.
Parameters
string $field: The field to query for nonexistence.
string $langcode: (optional) For which language the entity should be prepared, defaults to the current content language.
Return value
$this
See also
\Drupal\Core\Entity\Query\QueryInterface::notExists()
1 method overrides ConditionInterface::notExists()
- Condition::notExists in core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ Condition.php - Queries for the nonexistence of a field.
File
- core/
lib/ Drupal/ Core/ Entity/ Query/ ConditionInterface.php, line 73
Class
- ConditionInterface
- Defines the entity query condition interface.
Namespace
Drupal\Core\Entity\QueryCode
public function notExists($field, $langcode = NULL);