public static function LinkImageField::propertyDefinitions in Link Image Field 8
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.
Overrides ImageItem::propertyDefinitions
See also
\Drupal\Core\Field\BaseFieldDefinition
File
- lib/
Drupal/ linkimagefield/ Plugin/ Field/ FieldType/ LinkImageField.php, line 118
Class
- LinkImageField
- Plugin implementation of the 'LinkImageField' field type.
Namespace
Drupal\linkimagefield\Plugin\Field\FieldTypeCode
public static function propertyDefinitions(FieldDefinitionInterface $field_definition) {
$properties = parent::propertyDefinitions($field_definition);
return $properties;
}