You are here

function record_shorten_menu in Shorten URLs 7

Same name and namespace in other branches
  1. 6 record_shorten.module \record_shorten_menu()
  2. 7.2 record_shorten.module \record_shorten_menu()

Implements hook_menu().

File

./record_shorten.module, line 11
Records shortened URLs.

Code

function record_shorten_menu() {
  $items = array();
  $items['admin/reports/shorten'] = array(
    'title' => 'Shortened URLs',
    'description' => 'Lists shortened URLs.',
    'page callback' => 'theme',
    'page arguments' => array(
      'record_shorten_records',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}