You are here

public static function GeocoderWidget::defaultSettings in Geocoder 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/GeocoderWidget.php, line 31
Contains \Drupal\geocoder\Plugin\Field\FieldWidget\GeocoderWidget.

Class

GeocoderWidget
Plugin implementation of the 'geocoder_default' widget.

Namespace

Drupal\geocoder\Plugin\Field\FieldWidget

Code

public static function defaultSettings() {
  return array(
    'destination_field' => "",
    'placeholder' => "",
    'geocoder_engine' => "",
  ) + parent::defaultSettings();
}