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 107

Class

QueryInterface
Interface for entity queries.

Namespace

Drupal\Core\Entity\Query

Code

1
public function exists($field, $langcode = NULL);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.