You are here

function leaflet_theme in Leaflet 7

Same name and namespace in other branches
  1. 8 leaflet.module \leaflet_theme()
  2. 2.1.x leaflet.module \leaflet_theme()
  3. 2.0.x leaflet.module \leaflet_theme()

Implements hook_theme().

File

./leaflet.module, line 37

Code

function leaflet_theme($existing, $type, $theme, $path) {
  return array(
    'leaflet_map' => array(
      'arguments' => array(
        'map_id' => NULL,
        'height' => '400px',
      ),
      'template' => 'leaflet_map',
    ),
  );
}