public static function Location::getDefaultSettings in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/geolocation/LocationInput/Location.php \Drupal\geolocation\Plugin\geolocation\LocationInput\Location::getDefaultSettings()
Provide a populated settings array.
Return value
array The settings array with the default plugin settings.
Overrides LocationInputBase::getDefaultSettings
File
- src/
Plugin/ geolocation/ LocationInput/ Location.php, line 59
Class
- Location
- Location based proximity center.
Namespace
Drupal\geolocation\Plugin\geolocation\LocationInputCode
public static function getDefaultSettings() {
$settings = parent::getDefaultSettings();
$settings['location_settings'] = [
'settings' => [],
];
$settings['location_plugin_id'] = '';
return $settings;
}