function DataDefinitionInterface::isList
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::isList()
- 10 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::isList()
- 11.x core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::isList()
Returns whether the data is multi-valued, i.e. a list of data items.
This is equivalent to checking whether the data definition implements the \Drupal\Core\TypedData\ListDefinitionInterface interface.
Return value
bool Whether the data is multi-valued.
2 methods override DataDefinitionInterface::isList()
- DataDefinition::isList in core/
lib/ Drupal/ Core/ TypedData/ DataDefinition.php - Returns whether the data is multi-valued, i.e. a list of data items.
- FieldConfigBase::isList in core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php - Returns whether the data is multi-valued, i.e. a list of data items.
File
-
core/
lib/ Drupal/ Core/ TypedData/ DataDefinitionInterface.php, line 86
Class
- DataDefinitionInterface
- Interface for data definitions.
Namespace
Drupal\Core\TypedDataCode
public function isList();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.