function ListDataDefinition::getDataType
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/ListDataDefinition.php \Drupal\Core\TypedData\ListDataDefinition::getDataType()
- 8.9.x core/lib/Drupal/Core/TypedData/ListDataDefinition.php \Drupal\Core\TypedData\ListDataDefinition::getDataType()
- 11.x core/lib/Drupal/Core/TypedData/ListDataDefinition.php \Drupal\Core\TypedData\ListDataDefinition::getDataType()
Overrides DataDefinition::getDataType
1 method overrides ListDataDefinition::getDataType()
- SequenceDataDefinition::getDataType in core/
lib/ Drupal/ Core/ Config/ Schema/ SequenceDataDefinition.php - Returns the data type of the data.
File
-
core/
lib/ Drupal/ Core/ TypedData/ ListDataDefinition.php, line 58
Class
- ListDataDefinition
- A typed data definition class for defining lists.
Namespace
Drupal\Core\TypedDataCode
public function getDataType() {
return 'list';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.