You are here

function kml_menu in KML 6

Same name and namespace in other branches
  1. 5 kml.module \kml_menu()

Implementation of hook_menu().

File

./kml.module, line 39
KML Module

Code

function kml_menu() {
  $items['kml'] = array(
    'title' => 'KML feeds',
    'page callback' => 'kml_interface',
    'access arguments' => array(
      'access kml',
    ),
    'type' => MENU_SUGGESTED_ITEM,
  );
  $items['admin/settings/kml'] = array(
    'title' => 'KML',
    'description' => 'Settings for the KML module',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'kml_admin_settings',
    ),
    'access arguments' => array(
      'administer kml',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}