You are here

function vud_comment_menu in Vote Up/Down 6.2

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

Implementation of hook_menu().

File

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

Code

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