You are here

public static function FieldItemInterface::propertyDefinitions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Field/FieldItemInterface.php \Drupal\Core\Field\FieldItemInterface::propertyDefinitions()

Defines field item properties.

Properties that are required to constitute a valid, non-empty item should be denoted with \Drupal\Core\TypedData\DataDefinition::setRequired().

Return value

\Drupal\Core\TypedData\DataDefinitionInterface[] An array of property definitions of contained properties, keyed by property name.

See also

\Drupal\Core\Field\BaseFieldDefinition

22 methods override FieldItemInterface::propertyDefinitions()
BooleanItem::propertyDefinitions in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php
Defines field item properties.
CommentItem::propertyDefinitions in core/modules/comment/src/Plugin/Field/FieldType/CommentItem.php
Defines field item properties.
DateTimeItem::propertyDefinitions in core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItem.php
Defines field item properties.
DecimalItem::propertyDefinitions in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/DecimalItem.php
Defines field item properties.
EmailItem::propertyDefinitions in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php
Defines field item properties.

... See full list

File

core/lib/Drupal/Core/Field/FieldItemInterface.php, line 40
Contains \Drupal\Core\Field\FieldItemInterface.

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition);