function mb_comment_menu in More Buttons 7
Implements hook_menu().
File
- mb_comment/
mb_comment.module, line 26 - Provides a Cancel button for comments.
Code
function mb_comment_menu() {
$items = array();
$items['admin/config/mb/buttons/more-buttons-comment'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'mb_comment_admin',
),
'title' => 'Comments',
'access arguments' => array(
'administer site configuration',
),
'description' => 'An overview of what content type uses buttons/functions of the MB Comment module.',
'file' => 'mb_comment.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 10,
);
$items['admin/config/mb/buttons/more-buttons-comment/reset'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'mb_comment_reset',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_CALLBACK,
'file' => 'mb_comment.admin.inc',
);
return $items;
}