You are here

function user_admin_access_add in Drupal 5

Same name and namespace in other branches
  1. 4 modules/user.module \user_admin_access_add()
  2. 6 modules/user/user.admin.inc \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.module, line 1678
Enables the user registration and login system.

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'));
}