public static function YamapsDefaultFormatter::defaultSettings in Yandex.Maps 8
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ YamapsDefaultFormatter.php, line 124
Class
- YamapsDefaultFormatter
- Plugin implementation of the 'yamaps' formatter.
Namespace
Drupal\yamaps\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'width' => '100%',
'height' => '400px',
'enable_drag' => true,
'enable_zoom' => true,
] + parent::defaultSettings();
}