public function Field::getPropertyDefinitions

Implements \Drupal\Core\Entity\Field\FieldInterface::getPropertyDefinitions().

Overrides FieldInterface::getPropertyDefinitions

File

drupal/core/lib/Drupal/Core/Entity/Field/Type/Field.php, line 106
Contains \Drupal\Core\Entity\Field\Type\Field.

Class

Field
Represents an entity field; that is, a list of field item objects.

Namespace

Drupal\Core\Entity\Field\Type

Code

public function getPropertyDefinitions() {
  return $this
    ->offsetGet(0)
    ->getPropertyDefinitions();
}