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.
Problem/Motivation
hook_permission() is replaced by *.permissions.yml
Proposed resolution
Fix it as in this example.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#4 | replace-2344215-4.patch | 653 bytes | pmagunia |
#1 | replace-2344215-1.patch | 696 bytes | pmagunia |
Comments
Comment #1
pmaguniaComment #2
cilefen CreditAttribution: cilefen commentedThis looks really good and manual testing worked for me. Two small things caught my attention:
We don't have a description now, so we should just leave it out.
There should be only one newline here.
Comment #3
cilefen CreditAttribution: cilefen commentedComment #4
pmaguniaDescription and newline removed.
Comment #5
cilefen CreditAttribution: cilefen commentedFixed - thank you.
Comment #9
cilefen CreditAttribution: cilefen commentedIgnore the failures - the patches can't apply because it has been committed.