You are here

public static function GeofieldGoogleMapFormatter::defaultSettings in Geofield Map 8.2

Same name and namespace in other branches
  1. 8 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

2 calls to GeofieldGoogleMapFormatter::defaultSettings()
GeofieldGoogleMapFormatter::settingsForm in src/Plugin/Field/FieldFormatter/GeofieldGoogleMapFormatter.php
Returns a form to configure settings for the formatter.
GeofieldGoogleMapFormatter::settingsSummary in src/Plugin/Field/FieldFormatter/GeofieldGoogleMapFormatter.php
Returns a short summary for the current formatter settings.

File

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

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();
}