public static function VoteUpDownWidgetType::defaultSettings in Vote Up/Down 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/ VoteUpDownWidgetType.php, line 25
Class
- VoteUpDownWidgetType
- Plugin implementation of the 'vote_up_down_widget_type' widget.
Namespace
Drupal\vud\Plugin\Field\FieldWidgetCode
public static function defaultSettings() {
return [
'vote_tag' => 'vote',
] + parent::defaultSettings();
}