public static function RgDefaultWidget::defaultSettings in Brazilian IDs 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/ RgDefaultWidget.php, line 23
Class
- RgDefaultWidget
- Plugin annotation @FieldWidget( id = "brazilian_ids_rg_default", label = @Translation("Default"), field_types = { "brazilian_ids_rg", } )
Namespace
Drupal\brazilian_ids\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'clean_number' => FALSE,
] + parent::defaultSettings();
}