function _acl_get_explanation in ACL 7
Same name and namespace in other branches
- 8 acl.module \_acl_get_explanation()
- 6 acl.module \_acl_get_explanation()
Helper function to ask the client for its interpretation of the given grant record.
1 call to _acl_get_explanation()
- acl_node_access_explain in ./
acl.module - Implements hook_node_access_explain().
File
- ./
acl.module, line 388 - An API module providing by-user access control lists.
Code
function _acl_get_explanation($text, $acl_id, $module, $name, $number, $usernames = NULL) {
$hook = $module . '_acl_explain';
if (function_exists($hook)) {
return '<span title="' . $hook($acl_id, $name, $number, $usernames) . '">' . $text . '</span>';
}
return $text;
}