You are here

public static function GeofieldGoogleMapFormatter::defaultSettings in Geofield Map 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/GeofieldGoogleMapFormatter.php \Drupal\geofield_map\Plugin\Field\FieldFormatter\GeofieldGoogleMapFormatter::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 GeofieldGoogleMapFormatter::defaultSettings()
GeofieldGoogleMapFormatter::settingsForm in src/Plugin/Field/FieldFormatter/GeofieldGoogleMapFormatter.php
Returns a form to configure settings for the formatter.

File

src/Plugin/Field/FieldFormatter/GeofieldGoogleMapFormatter.php, line 186

Class

GeofieldGoogleMapFormatter
Plugin implementation of the 'geofield_google_map' formatter.

Namespace

Drupal\geofield_map\Plugin\Field\FieldFormatter

Code

public static function defaultSettings() {
  return self::getDefaultSettings() + parent::defaultSettings();
}