You are here

function forum_access_acl_explain in Forum Access 6

Same name and namespace in other branches
  1. 7 forum_access.module \forum_access_acl_explain()

Implementation of hook_acl_explain().

File

./forum_access.module, line 719
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).";
}