You are here

function vud_comment_menu in Vote Up/Down 7

Same name and namespace in other branches
  1. 6.3 vud_comment/vud_comment.module \vud_comment_menu()
  2. 6.2 vud_comment/vud_comment.module \vud_comment_menu()

Implementation of hook_menu().

File

vud_comment/vud_comment.module, line 14
Adds a voting widget to comments.

Code

function vud_comment_menu() {
  $items = array();
  $items['admin/config/search/voteupdown/comment'] = array(
    'title' => 'Comments',
    'description' => 'Vote Up/Down Comment settings',
    'page arguments' => array(
      'vud_comment_admin_settings',
    ),
    'access arguments' => array(
      'administer vote up/down on comments',
    ),
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}