Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/ListDataDefinition.php \Drupal\Core\TypedData\ListDataDefinition::getItemDefinition()
- 9 core/lib/Drupal/Core/TypedData/ListDataDefinition.php \Drupal\Core\TypedData\ListDataDefinition::getItemDefinition()
Gets the data definition of an item of the list.
Return value
\Drupal\Core\TypedData\DataDefinitionInterface A data definition describing the list items.
Overrides ListDataDefinitionInterface::getItemDefinition
13 calls to ListDataDefinition::getItemDefinition()
- BaseFieldDefinition::addPropertyConstraints in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Adds constraints for a given field item property.
- BaseFieldDefinition::getMainPropertyName in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Returns the name of the main property, if any.
- BaseFieldDefinition::getOptionsProvider in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Gets an options provider for the given field item property.
- BaseFieldDefinition::getPropertyDefinitions in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Gets an array of property definitions of contained properties.
- BaseFieldDefinition::getSetting in core/
lib/ Drupal/ Core/ Field/ BaseFieldDefinition.php - Returns the value of a given setting.
File
- core/
lib/ Drupal/ Core/ TypedData/ ListDataDefinition.php, line 92
Class
- ListDataDefinition
- A typed data definition class for defining lists.
Namespace
Drupal\Core\TypedDataCode
public function getItemDefinition() {
return $this->itemDefinition;
}