function _acl_get_explanation in ACL 8
Same name and namespace in other branches
- 6 acl.module \_acl_get_explanation()
- 7 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 427 - An API module providing by-user access control lists.
Code
function _acl_get_explanation($text, $acl_id, $module, $name, $figure, $usernames = NULL) {
$hook = $module . '_acl_explain';
if (function_exists($hook)) {
return '<span title="' . $hook($acl_id, $name, $figure, $usernames) . '">' . $text . '</span>';
}
return $text;
}