public static function ControlGoogleElementBase::getDefaultSettings in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ControlGoogleElementBase.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\ControlGoogleElementBase::getDefaultSettings()
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides ControlElementBase::getDefaultSettings
4 calls to ControlGoogleElementBase::getDefaultSettings()
- ControlDirections::getDefaultSettings in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlDirections.php - Provide a populated settings array.
- ControlGoogleElementBase::getSettingsForm in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlGoogleElementBase.php - Provide a generic map settings form array.
- ControlGoogleMapType::getDefaultSettings in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlGoogleMapType.php - Provide a populated settings array.
- ControlGoogleZoom::getDefaultSettings in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlGoogleZoom.php - Provide a populated settings array.
3 methods override ControlGoogleElementBase::getDefaultSettings()
- ControlDirections::getDefaultSettings in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlDirections.php - Provide a populated settings array.
- ControlGoogleMapType::getDefaultSettings in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlGoogleMapType.php - Provide a populated settings array.
- ControlGoogleZoom::getDefaultSettings in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlGoogleZoom.php - Provide a populated settings array.
File
- modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlGoogleElementBase.php, line 15
Class
- ControlGoogleElementBase
- Class ControlMapFeatureBase.
Namespace
Drupal\geolocation_google_maps\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
$settings = parent::getDefaultSettings();
$settings['position'] = 'RIGHT_CENTER';
$settings['behavior'] = 'default';
return $settings;
}