public function FieldConfigBase::isList in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::isList()
- 9 core/lib/Drupal/Core/Field/FieldConfigBase.php \Drupal\Core\Field\FieldConfigBase::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.
Overrides DataDefinitionInterface::isList
File
- core/
lib/ Drupal/ Core/ Field/ FieldConfigBase.php, line 482
Class
- FieldConfigBase
- Base class for configurable field definitions.
Namespace
Drupal\Core\FieldCode
public function isList() {
return TRUE;
}