You are here

function kml_theme in KML 7

Same name and namespace in other branches
  1. 6.2 kml.module \kml_theme()
  2. 6 kml.module \kml_theme()

Implements hook_theme().

File

./kml.module, line 21
KML module.

Code

function kml_theme() {
  $path = drupal_get_path('module', 'kml');
  return array(
    'kml_placemark' => array(
      'variables' => array(
        'point' => array(),
        'points' => array(),
      ),
      'file' => 'kml_views.theme.inc',
      'template' => 'kml-placemark',
      'path' => $path . "/views",
    ),
    'kml_style' => array(
      'variables' => array(
        'points' => array(),
      ),
      'file' => 'kml_style.theme.inc',
      'template' => 'kml-style',
      'path' => "{$path}/views",
    ),
  );
}