function simple_gmap_theme in Simple Google Maps 8
Same name and namespace in other branches
- 7 simple_gmap.module \simple_gmap_theme()
- 3.0.x simple_gmap.module \simple_gmap_theme()
Implements hook_theme().
File
- ./
simple_gmap.module, line 15 - Simple Google Maps module.
Code
function simple_gmap_theme() {
return [
'simple_gmap_output' => [
'variables' => [
'include_map' => NULL,
'include_static_map' => NULL,
'include_link' => NULL,
'include_text' => NULL,
'address_text' => NULL,
'width' => NULL,
'height' => NULL,
'static_scale' => NULL,
'url_suffix' => NULL,
'zoom' => NULL,
'link_text' => NULL,
'map_type' => NULL,
'langcode' => NULL,
'static_map_type' => NULL,
'apikey' => NULL,
'iframe_title' => '',
],
'template' => 'simple-gmap-output',
],
];
}