public static function VolumeTrait::fields in Dimension 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Field/VolumeTrait.php \Drupal\dimension\Plugin\Field\VolumeTrait::fields()
- 2.1.x src/Plugin/Field/VolumeTrait.php \Drupal\dimension\Plugin\Field\VolumeTrait::fields()
5 calls to VolumeTrait::fields()
- Volume::defaultFieldSettings in src/
Plugin/ Field/ FieldType/ Volume.php - Defines the field-level settings for this plugin.
- Volume::defaultSettings in src/
Plugin/ Field/ FieldWidget/ Volume.php - Defines the default settings for this plugin.
- Volume::defaultStorageSettings in src/
Plugin/ Field/ FieldType/ Volume.php - Defines the storage-level settings for this plugin.
- Volume::propertyDefinitions in src/
Plugin/ Field/ FieldType/ Volume.php - Defines field item properties.
- Volume::schema in src/
Plugin/ Field/ FieldType/ Volume.php - Returns the schema for the field.
File
- src/
Plugin/ Field/ VolumeTrait.php, line 10
Class
Namespace
Drupal\dimension\Plugin\FieldCode
public static function fields() : array {
return [
'length' => t('Length'),
'width' => t('Width'),
'height' => t('Height'),
];
}