public function MapProviderManager::getMapProviderOptions in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 src/MapProviderManager.php \Drupal\geolocation\MapProviderManager::getMapProviderOptions()
Get Map provider settings.
Return value
array Options.
File
- src/
MapProviderManager.php, line 88
Class
- MapProviderManager
- Search plugin manager.
Namespace
Drupal\geolocationCode
public function getMapProviderOptions() {
$options = [];
foreach ($this
->getDefinitions() as $id => $definition) {
$options[$id] = $definition['name'];
}
return $options;
}