You are here

function notifications_forum_menu in Forum notifications 6

Same name and namespace in other branches
  1. 7 notifications_forum.module \notifications_forum_menu()

Implements hook_menu().

File

./notifications_forum.module, line 49

Code

function notifications_forum_menu() {
  $items = array();
  $items['user/%user/notifications/forum'] = array(
    'type' => MENU_LOCAL_TASK,
    'access callback' => '_notifications_forum_user_forum_access',
    'access arguments' => array(
      1,
    ),
    'title' => t('Forums'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'notifications_forum_user_forum_form',
      1,
    ),
    'weight' => 10,
  );
  return $items;
}