You are here

geolocation_google_maps.api.php in Geolocation Field 8.2

Same filename and directory in other branches
  1. 8.3 modules/geolocation_google_maps/geolocation_google_maps.api.php

Hooks provided by the geolocation module.

File

modules/geolocation_google_maps/geolocation_google_maps.api.php
View source
<?php

/**
 * @file
 * Hooks provided by the geolocation module.
 */

/**
 * @addtogroup hooks
 * @{
 */

/**
 * Define additional parameters to the Google Maps API URL.
 *
 * @return array
 *   Parameters
 */
function hook_geolocation_google_maps_parameters() {
  return [
    'libraries' => [
      'places',
    ],
  ];
}

/**
 * @} End of "addtogroup hooks".
 */

Functions

Namesort descending Description
hook_geolocation_google_maps_parameters Define additional parameters to the Google Maps API URL.