You are here

function timeago_menu in Timeago 5

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

File

./timeago.module, line 21

Code

function timeago_menu() {
  $items = array();
  $items[] = array(
    'path' => 'admin/settings/timeago',
    'title' => t('Time ago settings'),
    'callback' => 'drupal_get_form',
    'callback arguments' => 'timeago_admin',
    'access' => user_access('access administration pages'),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}