kml.module in KML 6.2
Same filename and directory in other branches
KML module.
File
kml.moduleView source
<?php
/**
* @file
* KML module.
*/
/**
* Implementation of hook_views_api().
*/
function kml_views_api() {
return array(
'api' => 2,
'path' => drupal_get_path('module', 'kml') . '/views',
);
}
/**
* Implementation of hook_theme().
*/
function kml_theme() {
$path = drupal_get_path('module', 'kml');
return array(
'kml_placemark' => array(
'arguments' => array(
'point' => array(),
'points' => array(),
),
'file' => 'kml_views.theme.inc',
'template' => 'kml-placemark',
'path' => $path . "/views",
),
'kml_feed_icon' => array(
'arguments' => array(),
'file' => 'kml_views.theme.inc',
'path' => $path . "/views",
),
'kml_style' => array(
'arguments' => array(
'points' => array(),
),
'file' => 'kml_style.theme.inc',
'template' => 'kml-style',
'path' => "{$path}/views",
),
);
}
Functions
Name | Description |
---|---|
kml_theme | Implementation of hook_theme(). |
kml_views_api | Implementation of hook_views_api(). |