public static function ComputedStringItem::defaultStorageSettings in Computed Field 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldType/ComputedStringItem.php \Drupal\computed_field\Plugin\Field\FieldType\ComputedStringItem::defaultStorageSettings()
Defines the storage-level settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides StringItemBase::defaultStorageSettings
File
- src/
Plugin/ Field/ FieldType/ ComputedStringItem.php, line 26
Class
- ComputedStringItem
- Plugin implementation of the 'computed_string' field type.
Namespace
Drupal\computed_field\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'max_length' => 255,
'is_ascii' => FALSE,
] + parent::defaultStorageSettings();
}