function ListInterface::isEmpty
Same name in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::isEmpty()
- 10 core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::isEmpty()
- 11.x 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\TypedDataCode
public function isEmpty();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.