function FieldItemDataDefinition::getPropertyDefinitions

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php \Drupal\Core\Field\TypedData\FieldItemDataDefinition::getPropertyDefinitions()
  2. 10 core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php \Drupal\Core\Field\TypedData\FieldItemDataDefinition::getPropertyDefinitions()
  3. 11.x core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php \Drupal\Core\Field\TypedData\FieldItemDataDefinition::getPropertyDefinitions()

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\TypedData

Code

public function getPropertyDefinitions() {
    return $this->fieldDefinition
        ->getFieldStorageDefinition()
        ->getPropertyDefinitions();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.