root / drupal7 / sites / all / modules / acl / acl.api.php @ 6ae446a4
1 | 85ad3d82 | Assos Assos | <?php
|
---|---|---|---|
2 | |||
3 | /**
|
||
4 | * @file
|
||
5 | * API documentation for ACL.
|
||
6 | */
|
||
7 | |||
8 | /**
|
||
9 | * Explain what your ACL grant records mean.
|
||
10 | */
|
||
11 | function hook_acl_explain($acl_id, $name, $number, $users = NULL) { |
||
12 | if (empty($users)) { |
||
13 | return "ACL (id=$acl_id) would grant access to $name/$number."; |
||
14 | } |
||
15 | return "ACL (id=$acl_id) grants access to $name/$number to the listed user(s)."; |
||
16 | } |