public static function BarcodeWidget::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/ FieldWidget/ BarcodeWidget.php, line 26
Class
- BarcodeWidget
- Defines the 'barcode' field widget.
Namespace
Drupal\barcode\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'default' => '',
'custom_placeholder' => '',
] + parent::defaultSettings();
}