function leaflet_theme in Leaflet 2.0.x
Same name and namespace in other branches
- 8 leaflet.module \leaflet_theme()
- 7 leaflet.module \leaflet_theme()
- 2.1.x leaflet.module \leaflet_theme()
Implements hook_theme().
File
- ./
leaflet.module, line 11 - Contains the leaflet.module file.
Code
function leaflet_theme() {
return [
'leaflet_map' => [
'variables' => [
'map_id' => NULL,
'height' => '400px',
'map' => [],
],
],
];
}