You are here

function dialog_comment_menu in Dialog 7

Same name and namespace in other branches
  1. 6 modules/dialog_comment/dialog_comment.module \dialog_comment_menu()

Implementation of hook_menu().

File

modules/dialog_comment/dialog_comment.module, line 6

Code

function dialog_comment_menu() {
  $items['comment/%comment/%dialog_js/delete'] = array(
    'title' => 'Delete comment',
    'page callback' => 'dialog_comment_delete',
    'page arguments' => array(
      1,
      2,
    ),
    'access arguments' => array(
      'administer comments',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}