You are here

public static function SelectOtherWidget::defaultSettings in GatherContent 8.5

Same name and namespace in other branches
  1. 8.4 gathercontent_ui/src/Plugin/Field/FieldWidget/SelectOtherWidget.php \Drupal\gathercontent_ui\Plugin\Field\FieldWidget\SelectOtherWidget::defaultSettings()

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

File

gathercontent_ui/src/Plugin/Field/FieldWidget/SelectOtherWidget.php, line 28

Class

SelectOtherWidget
Plugin implementation of the 'select_other_widget' widget.

Namespace

Drupal\gathercontent_ui\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return [
    'available_options' => '',
  ] + parent::defaultSettings();
}