public static function ComputedStringItem::defaultStorageSettings in Computed Field 8.2
Same name and namespace in other branches
- 3.x 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();
}