public static function GeofieldGoogleEmbedMapFormatter::defaultSettings in Geofield Map 8.2
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- modules/
geofield_map_extras/ src/ Plugin/ Field/ FieldFormatter/ GeofieldGoogleEmbedMapFormatter.php, line 105
Class
- GeofieldGoogleEmbedMapFormatter
- Plugin implementation of the 'geofield_embed_google_map' formatter.
Namespace
Drupal\geofield_map_extras\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'width' => 200,
'height' => 200,
'optionals_parameters' => '{"zoom":15,"maptype":"roadmap"}',
] + parent::defaultSettings();
}