public function ListInterface::isEmpty

Determines whether the list contains any non-empty items.

Return value

boolean TRUE if the list is empty, FALSE otherwise.

1 method overrides ListInterface::isEmpty()
Field::isEmpty in drupal/core/lib/Drupal/Core/Entity/Field/Type/Field.php
Implements ListInterface::isEmpty().

File

drupal/core/lib/Drupal/Core/TypedData/ListInterface.php, line 31
Definition of Drupal\Core\TypedData\ListInterface.

Class

ListInterface
Interface for a list of typed data.

Namespace

Drupal\Core\TypedData

Code

public function isEmpty();