You are here

function mb_user_menu in More Buttons 7

Implements hook_menu().

File

mb_user/mb_user.module, line 33
Provides additional buttons for content in user context.

Code

function mb_user_menu() {
  $items = array();
  $items['admin/config/mb/buttons/more-buttons-user'] = array(
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mb_user_admin',
    ),
    'title' => 'Users',
    'access arguments' => array(
      'administer site configuration',
    ),
    'description' => 'An overview of what page types uses buttons of the MB User module.',
    'file' => 'mb_user.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 11,
  );
  $items['admin/config/mb/buttons/more-buttons-user/reset'] = array(
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'mb_user_reset',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
    'file' => 'mb_user.admin.inc',
  );
  return $items;
}