public static function NifWidget::defaultSettings in Field NIF 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/ NifWidget.php, line 26
Class
- NifWidget
- Plugin implementation of the 'nif_default' widget.
Namespace
Drupal\field_nif\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'placeholder' => '',
] + parent::defaultSettings();
}