You are here

public static function GeofieldDefaultFormatter::defaultSettings in Geofield 8

Defines the default settings for this plugin.

Return value

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

Overrides PluginSettingsBase::defaultSettings

1 method overrides GeofieldDefaultFormatter::defaultSettings()
LatLonFormatter::defaultSettings in src/Plugin/Field/FieldFormatter/LatLonFormatter.php
Defines the default settings for this plugin.

File

src/Plugin/Field/FieldFormatter/GeofieldDefaultFormatter.php, line 95

Class

GeofieldDefaultFormatter
Plugin implementation of the 'geofield_default' formatter.

Namespace

Drupal\geofield\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'output_format' => 'wkt',
    'output_escape' => TRUE,
  ];
}