You are here

public static function GeocodeFormatterBase::defaultSettings in Geocoder 8.2

Same name and namespace in other branches
  1. 8.3 modules/geocoder_field/src/Plugin/Field/GeocodeFormatterBase.php \Drupal\geocoder_field\Plugin\Field\GeocodeFormatterBase::defaultSettings()

Defines the default settings for this plugin.

Return value

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

Overrides PluginSettingsBase::defaultSettings

1 call to GeocodeFormatterBase::defaultSettings()
GeoPhpGeocodeFormatter::defaultSettings in modules/geocoder_geofield/src/Plugin/Field/FieldFormatter/GeoPhpGeocodeFormatter.php
Defines the default settings for this plugin.
1 method overrides GeocodeFormatterBase::defaultSettings()
GeoPhpGeocodeFormatter::defaultSettings in modules/geocoder_geofield/src/Plugin/Field/FieldFormatter/GeoPhpGeocodeFormatter.php
Defines the default settings for this plugin.

File

modules/geocoder_field/src/Plugin/Field/GeocodeFormatterBase.php, line 144

Class

GeocodeFormatterBase
Base Plugin implementation of the Geocode formatter.

Namespace

Drupal\geocoder_field\Plugin\Field

Code

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