You are here

function _acl_module_load_include in ACL 7

Helper function to load include files.

2 calls to _acl_module_load_include()
acl_edit_form in ./acl.module
Provide a form to edit the ACL that can be embedded in other forms.
acl_get_usernames in ./acl.module
Get the user names of an ACL.

File

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

Code

function _acl_module_load_include($type) {
  static $loaded = array();
  if (!isset($loaded[$type])) {
    module_load_include($type, 'acl');
    $loaded[$type] = drupal_get_path('module', 'acl') . "/acl.{$type}";
  }
  return $loaded[$type];
}