Queries for the nonexistence of a field.
Parameters
$field.:
Name of a field.
$langcode:
Language code (optional).
Return value
\Drupal\Core\Entity\Query\QueryInterface
File
- drupal/core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 89
- Contains \Drupal\Core\Entity\QueryInterface.
Class
- QueryInterface
- Interface for entity queries.
Namespace
Drupal\Core\Entity\Query
Code
public function notExists($field, $langcode = NULL);