function location_theme in Location 7.5
Same name and namespace in other branches
- 6.3 location.module \location_theme()
- 7.3 location.module \location_theme()
- 7.4 location.module \location_theme()
Implements hook_theme().
File
- ./
location.module, line 173 - Location module main routines. An implementation of a universal API for location manipulation. Provides functions for postal_code proximity searching, deep-linking into online mapping services. Currently, some options are configured through an…
Code
function location_theme() {
return array(
'location_settings' => array(
'render element' => 'element',
),
'locations' => array(
'template' => 'locations',
'variables' => array(
'locations' => NULL,
'hide' => array(),
),
),
'location' => array(
'template' => 'location',
'variables' => array(
'location' => NULL,
'hide' => array(),
),
),
'location_latitude_dms' => array(
'variables' => array(
'latitude',
),
),
'location_longitude_dms' => array(
'variables' => array(
'longitude',
),
),
'location_map_link_options' => array(
'render element' => 'form',
'file' => 'location.admin.inc',
),
'location_geocoding_options' => array(
'render element' => 'form',
'file' => 'location.admin.inc',
),
'location_element' => array(
'render element' => 'element',
),
'location_distance' => array(
'template' => 'location_distance',
'variables' => array(
'distance' => 0,
'units' => 'km',
),
),
);
}