You are here

function timeago_menu in Timeago 6.2

Same name and namespace in other branches
  1. 5 timeago.module \timeago_menu()
  2. 6 timeago.module \timeago_menu()
  3. 7.2 timeago.module \timeago_menu()
  4. 7 timeago.module \timeago_menu()

Implementation of hook_menu().

File

./timeago.module, line 50
Adds support for the Timeago jQuery library.

Code

function timeago_menu() {
  $items = array();
  $items['admin/settings/timeago'] = array(
    'title' => 'Timeago',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'timeago_admin',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'description' => 'Allows administrators to adjust settings for timeago.',
  );
  return $items;
}