function QueryInterface::notExists

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::notExists()
  2. 10 core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::notExists()
  3. 11.x core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::notExists()

Queries for an empty field.

Parameters

$field: Name of a field.

$langcode: Language code (optional).

Return value

$this

1 method overrides QueryInterface::notExists()
QueryBase::notExists in core/lib/Drupal/Core/Entity/Query/QueryBase.php
Queries for an empty field.

File

core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 125

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.