summaryrefslogtreecommitdiffstats
path: root/core/modules/system/system.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/system.api.php')
-rw-r--r--core/modules/system/system.api.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php
index f3b4d97..461c431 100644
--- a/core/modules/system/system.api.php
+++ b/core/modules/system/system.api.php
@@ -964,10 +964,9 @@ function hook_system_info_alter(array &$info, \Drupal\Core\Extension\Extension $
* have inherent security risks across a variety of potential use cases
* (for example, the "administer filters" and "bypass node access"
* permissions provided by Drupal core). When set to TRUE, a standard
- * warning message defined in user_admin_permissions() and output via
- * theme_user_permission_description() will be associated with the
- * permission and displayed with it on the permission administration page.
- * Defaults to FALSE.
+ * warning message defined in user_admin_permissions() will be displayed
+ * with the permission on the permission administration page. Defaults
+ * to FALSE.
* - warning: (optional) A translated warning message to display for this
* permission on the permission administration page. This warning overrides
* the automatic warning generated by 'restrict access' being set to TRUE.
@@ -976,8 +975,6 @@ function hook_system_info_alter(array &$info, \Drupal\Core\Extension\Extension $
* site. Use the 'description' key instead to provide any information that
* is specific to the permission you are defining.
*
- * @see theme_user_permission_description()
- *
* @ingroup user_api
*/
function hook_permission() {