public static function Area::propertyDefinitions in Dimension 8
Same name and namespace in other branches
- 2.1.x src/Plugin/Field/FieldType/Area.php \Drupal\dimension\Plugin\Field\FieldType\Area::propertyDefinitions()
- 2.0.x src/Plugin/Field/FieldType/Area.php \Drupal\dimension\Plugin\Field\FieldType\Area::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.
Overrides DecimalItem::propertyDefinitions
See also
\Drupal\Core\Field\BaseFieldDefinition
File
- src/
Plugin/ Field/ FieldType/ Area.php, line 40
Class
- Area
- Plugin implementation of the 'area_field_type' field type.
Namespace
Drupal\dimension\Plugin\Field\FieldTypeCode
public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition) {
return self::_propertyDefinitions($field_definition, self::fields());
}