function TypedDataManagerInterface::createListDataDefinition
Same name in other branches
- 9 core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php \Drupal\Core\TypedData\TypedDataManagerInterface::createListDataDefinition()
- 8.9.x core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php \Drupal\Core\TypedData\TypedDataManagerInterface::createListDataDefinition()
- 11.x core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php \Drupal\Core\TypedData\TypedDataManagerInterface::createListDataDefinition()
Creates a new list data definition for items of the given data type.
Parameters
string $item_type: The item type, for which a list data definition should be created.
Return value
\Drupal\Core\TypedData\ListDataDefinitionInterface A list definition for items of the given data type.
See also
\Drupal\Core\TypedData\TypedDataManager::createDataDefinition()
File
-
core/
lib/ Drupal/ Core/ TypedData/ TypedDataManagerInterface.php, line 107
Class
- TypedDataManagerInterface
- Defines an interface for typed data manager.
Namespace
Drupal\Core\TypedDataCode
public function createListDataDefinition($item_type);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.