function user_admin_access_add in Drupal 6
Same name and namespace in other branches
- 4 modules/user.module \user_admin_access_add()
- 5 modules/user/user.module \user_admin_access_add()
Menu callback: add an access rule.
1 string reference to 'user_admin_access_add'
- user_menu in modules/
user/ user.module - Implementation of hook_menu().
File
- modules/
user/ user.admin.inc, line 735 - Admin page callback file for the user module.
Code
function user_admin_access_add($mask = NULL, $type = NULL) {
$edit = array();
$edit['aid'] = 0;
$edit['mask'] = $mask;
$edit['type'] = $type;
return drupal_get_form('user_admin_access_add_form', $edit, t('Add rule'));
}