You are here

function hook_geolocation_google_maps_parameters in Geolocation Field 8

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.2 modules/geolocation_google_maps/geolocation_google_maps.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_places_api/geolocation_google_places_api.module
Implements hook_geolocation_google_maps_parameters().
2 invocations of hook_geolocation_google_maps_parameters()
GeolocationSettings::buildForm in src/Form/GeolocationSettings.php
Form constructor.
GoogleMapsDisplayTrait::getGoogleMapsApiParameters in src/GoogleMapsDisplayTrait.php
Return all module and custom defined parameters.

File

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

Code

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