public static function JSONItem::defaultStorageSettings in JSON Field 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/ JSONItem.php, line 50
Class
- JSONItem
- Plugin implementation of the 'JSON' field type.
Namespace
Drupal\json_field\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'size' => static::SIZE_BIG,
] + parent::defaultStorageSettings();
}