You are here

function advanced_forum_menu in Advanced Forum 6

Same name and namespace in other branches
  1. 5 advanced_forum.module \advanced_forum_menu()
  2. 6.2 advanced_forum.module \advanced_forum_menu()
  3. 7.2 advanced_forum.module \advanced_forum_menu()

Implementation of hook_menu().

File

./advanced_forum.module, line 22
Enables the look and feel of other popular forum software.

Code

function advanced_forum_menu() {
  $items['forum/markasread'] = array(
    'access callback' => 'advanced_forum_markasread_access',
    'page callback' => 'advanced_forum_markasread',
    'type' => MENU_CALLBACK,
  );
  $items['admin/settings/advanced-forum'] = array(
    'access arguments' => array(
      'administer advanced forum',
    ),
    'description' => 'Configure Advanced Forum with these settings.',
    'page arguments' => array(
      'advanced_forum_settings_page',
    ),
    'page callback' => 'drupal_get_form',
    'title' => 'Advanced Forum',
  );
  return $items;
}