public static function GeoPhpGeocodeFormatter::defaultSettings in Geocoder 8.2
Same name and namespace in other branches
- 8.3 modules/geocoder_geofield/src/Plugin/Field/FieldFormatter/GeoPhpGeocodeFormatter.php \Drupal\geocoder_geofield\Plugin\Field\FieldFormatter\GeoPhpGeocodeFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides GeocodeFormatterBase::defaultSettings
File
- modules/
geocoder_geofield/ src/ Plugin/ Field/ FieldFormatter/ GeoPhpGeocodeFormatter.php, line 134
Class
- GeoPhpGeocodeFormatter
- Abstract implementation of the GeoPhp Wrapper formatter for File fields.
Namespace
Drupal\geocoder_geofield\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return parent::defaultSettings() + [
'adapter' => 'wkt',
];
}