public static function SerialItem::defaultStorageSettings in Serial 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/ SerialItem.php, line 48
Class
- SerialItem
- Plugin implementation of the 'serial' field type.
Namespace
Drupal\serial\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
return [
'start_value' => 1,
'init_existing_entities' => 0,
] + parent::defaultStorageSettings();
}