function advuser_menu in Advanced User 7.3
Same name and namespace in other branches
- 5.2 advuser.module \advuser_menu()
- 5 advuser.module \advuser_menu()
- 6.3 advuser.module \advuser_menu()
- 6.2 advuser.module \advuser_menu()
- 7.4 advuser.module \advuser_menu()
Implementation of hook_menu().
Related topics
File
- ./
advuser.module, line 132 - Advanced user module allows you to select users based on an advanced set of filtering and apply actions to block, unblock, delete or email the selected users.
Code
function advuser_menu() {
$items['admin/config/people/advuser'] = array(
'title' => 'Advanced User',
'description' => 'Advanced User Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'advuser_settings',
),
'access arguments' => array(
'administer advuser',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'forms/advuser_settings.inc',
);
$items['admin/people/advuser'] = array(
'title' => 'Advanced',
'description' => 'List, add, edit and email users.',
'page callback' => 'advuser_admin',
'page arguments' => array(
'list',
),
'access callback' => 'advuser_admin_access_',
'access arguments' => array(
'access advuser',
'administer users',
),
'type' => MENU_LOCAL_TASK,
'file' => 'forms/advuser_admin.inc',
);
$items['admin/people/advuser/confirm/email'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'advuser_multiple_email_confirm',
),
'access callback' => 'advuser_admin_access_',
'access arguments' => array(
'access advuser',
'administer users',
'send email advuser',
),
'type' => MENU_CALLBACK,
'file' => 'forms/advuser_multiple_email_confirm.inc',
);
$items['admin/people/advuser/confirm/delete'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'advuser_multiple_delete_confirm',
),
'access callback' => 'advuser_admin_access_',
'access arguments' => array(
'access advuser',
'administer users',
),
'type' => MENU_CALLBACK,
'file' => 'forms/advuser_multiple_delete_confirm.inc',
);
return $items;
}