You are here

public static function SelectOtherWidget::defaultSettings in GatherContent 8.3

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/SelectOtherWidget.php, line 25

Class

SelectOtherWidget
Plugin implementation of the 'select_other_widget' widget.

Namespace

Drupal\gathercontent\Plugin\Field\FieldWidget

Code

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