function forum_access_acl_explain in Forum Access 7
Same name and namespace in other branches
- 6 forum_access.module \forum_access_acl_explain()
Implements hook_acl_explain().
File
- ./
forum_access.module, line 843 - forum_access.module
Code
function forum_access_acl_explain($acl_id, $name, $number, $users = NULL) {
if (empty($users)) {
return "ACL (id={$acl_id}) would grant access to nodes in forum/{$number}.";
}
return "ACL (id={$acl_id}) grants access to nodes in forum/{$number} to the listed user(s).";
}