public static function ControlCustomLoadingIndicator::getDefaultSettings in Geolocation Field 8.3
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides ControlElementBase::getDefaultSettings
1 call to ControlCustomLoadingIndicator::getDefaultSettings()
- ControlCustomLoadingIndicator::getSettingsForm in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlCustomLoadingIndicator.php - Provide a generic map settings form array.
File
- modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ MapFeature/ ControlCustomLoadingIndicator.php, line 22
Class
- ControlCustomLoadingIndicator
- Provides Recenter control element.
Namespace
Drupal\geolocation_google_maps\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
$settings = parent::getDefaultSettings();
$settings['loading_label'] = 'Loading';
return $settings;
}