public function ComplexDataInterface::getPropertyDefinitions

Gets an array property definitions of contained properties.

Parameters

array $definition: The definition of the container's property, e.g. the definition of an entity reference property.

Return value

array An array of property definitions of contained properties, keyed by property name.

3 calls to ComplexDataInterface::getPropertyDefinitions()
FieldItemBase::getProperties in drupal/core/lib/Drupal/Core/Entity/Field/FieldItemBase.php
Implements ComplexDataInterface::getProperties().
FieldItemBase::getPropertyDefinition in drupal/core/lib/Drupal/Core/Entity/Field/FieldItemBase.php
Implements ComplexDataInterface::getPropertyDefinition().
FieldItemBase::__construct in drupal/core/lib/Drupal/Core/Entity/Field/FieldItemBase.php
Implements TypedDataInterface::__construct().
12 methods override ComplexDataInterface::getPropertyDefinitions()
BooleanItem::getPropertyDefinitions in drupal/core/lib/Drupal/Core/Entity/Field/Type/BooleanItem.php
Implements ComplexDataInterface::getPropertyDefinitions().
DateItem::getPropertyDefinitions in drupal/core/lib/Drupal/Core/Entity/Field/Type/DateItem.php
Implements ComplexDataInterface::getPropertyDefinitions().
Entity::getPropertyDefinitions in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements ComplexDataInterface::getPropertyDefinitions().
EntityReferenceItem::getPropertyDefinitions in drupal/core/lib/Drupal/Core/Entity/Field/Type/EntityReferenceItem.php
Implements ComplexDataInterface::getPropertyDefinitions().
EntityTranslation::getPropertyDefinitions in drupal/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php
Implements ComplexDataInterface::getPropertyDefinitions().

... See full list

File

drupal/core/lib/Drupal/Core/TypedData/ComplexDataInterface.php, line 111
Definition of Drupal\Core\TypedData\ComplexDataInterface.

Class

ComplexDataInterface
Interface for complex data; i.e. data containing named and typed properties.

Namespace

Drupal\Core\TypedData

Code

public function getPropertyDefinitions();