Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::isEmpty()
  2. 9 core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::isEmpty()

Determines whether the list contains any non-empty items.

Return value

bool TRUE if the list is empty, FALSE otherwise.

1 method overrides ListInterface::isEmpty()
ItemList::isEmpty in core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php
Determines whether the list contains any non-empty items.

File

core/lib/Drupal/Core/TypedData/ListInterface.php, line 34

Class

ListInterface
Interface for a list of typed data.

Namespace

Drupal\Core\TypedData

Code

public function isEmpty();