You are here

public static function LatLonFormatter::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 GeofieldDefaultFormatter::defaultSettings

File

src/Plugin/Field/FieldFormatter/LatLonFormatter.php, line 25

Class

LatLonFormatter
Plugin implementation of the 'geofield_latlon' formatter.

Namespace

Drupal\geofield\Plugin\Field\FieldFormatter

Code

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