FieldItemInterface::propertyDefinitions

public static FieldItemInterface::propertyDefinitions(FieldStorageDefinitionInterface $field_definition)

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

File

core/lib/Drupal/Core/Field/FieldItemInterface.php, line 35

Class

FieldItemInterface
Interface for entity field items.

Namespace

Drupal\Core\Field

Code

public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition);
doc_Drupal
2016-10-29 09:11:47
Comments
Leave a Comment

Please login to continue.