Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Compare:
http://api.drupal.org/api/function/hook_perm/7
with:
http://api.drupal.org/api/function/user_perm/7
Example code needs updating, and it's probably worth looking at the PHPDoc there too to see if it needs to be updated as well.
Comment | File | Size | Author |
---|---|---|---|
#1 | 491490_hook_perm.patch | 1.57 KB | dale42 |
Comments
Comment #1
dale42Patch updates hook_perm description in system.api.php
http://api.drupal.org/api/function/page_example_perm/7, linked via page_examples.module, is already correct.
Comment #2
dale42Comment #3
tobiasbComment #4
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.