summaryrefslogtreecommitdiff
path: root/modules/system/system.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r--modules/system/system.api.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 5481e8184..7b7158a49 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -1911,6 +1911,9 @@ function hook_system_info_alter(&$info, $file, $type) {
* warning message defined in user_admin_permissions() will be associated
* with the permission and displayed with it on the permission
* administration page. Defaults to FALSE.
+ * - warning: (optional) A translated warning message to display on the
+ * permission administration page. This warning overrides the automatic
+ * warning generated by 'restrict access' being set to TRUE.
*/
function hook_permission() {
return array(