public function MapCenterBase::getSettings in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 src/MapCenterBase.php \Drupal\geolocation\MapCenterBase::getSettings()
Provide MapCenter option specific settings.
Parameters
array $settings: Current settings.
Return value
array An array only containing keys defined in this plugin.
Overrides MapCenterInterface::getSettings
File
- src/
MapCenterBase.php, line 38
Class
- MapCenterBase
- Class MapCenterBase.
Namespace
Drupal\geolocationCode
public function getSettings(array $settings) {
$default_settings = $this
->getDefaultSettings();
$settings = array_replace_recursive($default_settings, $settings);
return $settings;
}