QueryInterface::exists

public function QueryInterface::exists

public QueryInterface::exists($field, $langcode = NULL)

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

File

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

Class

登录查看完整内容