You are here

public static function ContextPopup::getDefaultSettings in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ContextPopup.php \Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature\ContextPopup::getDefaultSettings()

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapFeatureBase::getDefaultSettings

File

modules/geolocation_google_maps/src/Plugin/geolocation/MapFeature/ContextPopup.php, line 23

Class

ContextPopup
Provides context popup.

Namespace

Drupal\geolocation_google_maps\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  return [
    'content' => [
      'value' => '',
      'format' => filter_default_format(),
    ],
  ];
}