Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. QueryInterface.php

function QueryInterface::notExists

Queries for an empty field.

Parameters

string $field: Name of a field.

string|null $langcode: (optional) The language code allows filtering results by specific language. If omitted (NULL), any translation satisfies the condition.

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 141

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal