public static function CpfWidget::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 StringTextfieldWidget::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ CpfWidget.php, line 26
Class
- CpfWidget
- Field widget for CPF number input. It can be used with normal text fields.
Namespace
Drupal\brazilian_ids\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'size' => 14,
] + parent::defaultSettings();
}