You are here

public static function EntityReferenceViewsOptionsSelectWidget::defaultSettings in Entity Reference Views Select 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/EntityReferenceViewsOptionsSelectWidget.php, line 81

Class

EntityReferenceViewsOptionsSelectWidget
Plugin implementation of the 'erviews_options_select' widget.

Namespace

Drupal\entity_reference_views_select\Plugin\Field\FieldWidget

Code

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