public static function RangeDecimalItem::defaultStorageSettings in Range 8
Defines the storage-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides FieldItemBase::defaultStorageSettings
File
- src/
Plugin/ Field/ FieldType/ RangeDecimalItem.php, line 26
Class
- RangeDecimalItem
- Plugin implementation of the 'range_decimal' field type.
Namespace
Drupal\range\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'precision' => 10,
'scale' => 2,
] + parent::defaultStorageSettings();
}