| Versionen | |
|---|---|
| drupal6 | user_admin_access_add($mask = NULL, $type = NULL) |
Menu callback: add an access rule.
modules/
<?php
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'));
}
?>
Kommentare
Kommentar hinzufügen