You are here

function farm_map_kml_theme in farmOS 7

Implements hook_theme().

File

modules/farm/farm_map/farm_map_kml/farm_map_kml.module, line 11
Farm map KML.

Code

function farm_map_kml_theme($existing, $type, $theme, $path) {
  return array(
    'farm_map_kml' => array(
      'variables' => array(
        'content' => NULL,
        'placemarks' => array(),
      ),
      'template' => 'farm_map_kml',
      'file' => 'farm_map_kml.theme.inc',
    ),
    'farm_map_kml_placemark' => array(
      'variables' => array(
        'pid' => NULL,
        'name' => NULL,
        'description' => NULL,
        'geometry' => NULL,
        'kml' => NULL,
      ),
      'template' => 'farm_map_kml_placemark',
      'file' => 'farm_map_kml.theme.inc',
    ),
  );
}