You are here

public function QueryInterface::exists in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/Query/QueryInterface.php \Drupal\Core\Entity\Query\QueryInterface::exists()

Queries for a non-empty value on a field.

Parameters

$field: Name of a field.

$langcode: Language code (optional).

Return value

\Drupal\Core\Entity\Query\QueryInterface

1 method overrides QueryInterface::exists()
QueryBase::exists in core/lib/Drupal/Core/Entity/Query/QueryBase.php
Queries for a non-empty value on a field.

File

core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 90
Contains \Drupal\Core\Entity\Query\QueryInterface.

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

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