public static function BarcodeFormatterBase::defaultSettings in Barcode 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ BarcodeFormatterBase.php, line 19
Class
- BarcodeFormatterBase
- Base for barcode formatters.
Namespace
Drupal\barcode\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'background' => 'FFFFFF',
'foreground' => '000000',
] + parent::defaultSettings();
}