protected function GoogleMapsService::setGmapApiKey in Geofield Map 8.2
Set the module related Gmap API Key.
Return value
string The GmapApiKey
1 call to GoogleMapsService::setGmapApiKey()
- GoogleMapsService::__construct in src/
Services/ GoogleMapsService.php - Constructs a new GoogleMapsService object.
File
- src/
Services/ GoogleMapsService.php, line 58
Class
- GoogleMapsService
- Class GoogleMapsService.
Namespace
Drupal\geofield_map\ServicesCode
protected function setGmapApiKey() {
return $this->config
->get('geofield_map.settings')
->get('gmap_api_key');
}