public function FieldItemDataDefinition::getPropertyDefinitions in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php \Drupal\Core\Field\TypedData\FieldItemDataDefinition::getPropertyDefinitions()
Gets an array of property definitions of contained properties.
Return value
\Drupal\Core\TypedData\DataDefinitionInterface[] An array of property definitions of contained properties, keyed by property name.
Overrides ComplexDataDefinitionInterface::getPropertyDefinitions
File
- core/
lib/ Drupal/ Core/ Field/ TypedData/ FieldItemDataDefinition.php, line 64
Class
- FieldItemDataDefinition
- A typed data definition class for defining field items.
Namespace
Drupal\Core\Field\TypedDataCode
public function getPropertyDefinitions() {
return $this->fieldDefinition
->getFieldStorageDefinition()
->getPropertyDefinitions();
}