You are here

function hook_geolocation_google_maps_parameters in Geolocation Field 8.2

Same name and namespace in other branches
  1. 8.3 modules/geolocation_google_maps/geolocation_google_maps.api.php \hook_geolocation_google_maps_parameters()
  2. 8 geolocation.api.php \hook_geolocation_google_maps_parameters()

Define additional parameters to the Google Maps API URL.

Return value

array Parameters

1 function implements hook_geolocation_google_maps_parameters()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

geolocation_google_places_api_geolocation_google_maps_parameters in modules/geolocation_google_maps/modules/geolocation_google_places_api/geolocation_google_places_api.module
Implements hook_geolocation_google_maps_parameters().
2 invocations of hook_geolocation_google_maps_parameters()
GeolocationGoogleMapsSettings::buildForm in modules/geolocation_google_maps/src/Form/GeolocationGoogleMapsSettings.php
Form constructor.
GoogleMapsProviderBase::getGoogleMapsApiParameters in modules/geolocation_google_maps/src/GoogleMapsProviderBase.php
Return all module and custom defined parameters.

File

modules/geolocation_google_maps/geolocation_google_maps.api.php, line 19
Hooks provided by the geolocation module.

Code

function hook_geolocation_google_maps_parameters() {
  return [
    'libraries' => [
      'places',
    ],
  ];
}