FieldItemDataDefinition::getPropertyDefinitions

public 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 65

Class

FieldItemDataDefinition
A typed data definition class for defining field items.

Namespace

Drupal\Core\Field\TypedData

Code

public function getPropertyDefinitions() {
  return $this->fieldDefinition->getFieldStorageDefinition()->getPropertyDefinitions();
}
doc_Drupal
2016-10-29 09:11:43
Comments
Leave a Comment

Please login to continue.