You are here

function acl_edit_form in ACL 6

Same name and namespace in other branches
  1. 8 acl.module \acl_edit_form()
  2. 5 acl.module \acl_edit_form()
  3. 7 acl.module \acl_edit_form()

Provide a form to edit the ACL that can be embedded in other forms. Pass $new_acl=TRUE if you have no ACL yet, but do supply a string like 'my_module_new_acl' as $acl_id anyway.

File

./acl.module, line 72
An API module providing by-user access control lists.

Code

function acl_edit_form($acl_id, $label = NULL, $new_acl = FALSE) {
  module_load_include('admin.inc', 'acl');
  return _acl_edit_form($acl_id, $label, $new_acl);
}