public static function LinkClassFieldWidget::defaultSettings in Link class 8
Same name and namespace in other branches
- 2.0.x src/Plugin/Field/FieldWidget/LinkClassFieldWidget.php \Drupal\link_class\Plugin\Field\FieldWidget\LinkClassFieldWidget::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides LinkWidget::defaultSettings
File
- src/
Plugin/ Field/ FieldWidget/ LinkClassFieldWidget.php, line 25
Class
- LinkClassFieldWidget
- Plugin implementation of the 'link_class_field_widget' widget.
Namespace
Drupal\link_class\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'link_class_mode' => 'manual',
'link_class_force' => '',
'link_class_select' => '',
] + parent::defaultSettings();
}