public static function BarcodeBase::defaultStorageSettings in Barcode 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/ BarcodeBase.php, line 31
Class
Namespace
Drupal\barcode\Plugin\Field\FieldTypeCode
public static function defaultStorageSettings() {
$settings = [
'types' => static::standardBarcodes(),
];
return $settings + parent::defaultStorageSettings();
}