You are here

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

BarcodeBase

Namespace

Drupal\barcode\Plugin\Field\FieldType

Code

public static function defaultStorageSettings() {
  $settings = [
    'types' => static::standardBarcodes(),
  ];
  return $settings + parent::defaultStorageSettings();
}