You are here

public static function GeolocationMarkerScrollToId::getDefaultSettings in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/geolocation/MapFeature/GeolocationMarkerScrollToId.php \Drupal\geolocation\Plugin\geolocation\MapFeature\GeolocationMarkerScrollToId::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapFeatureBase::getDefaultSettings

File

src/Plugin/geolocation/MapFeature/GeolocationMarkerScrollToId.php, line 24

Class

GeolocationMarkerScrollToId
Provides map tilt.

Namespace

Drupal\geolocation\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  return [
    'scroll_target_id' => '',
  ];
}