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
We need to port the hook_permission to Drupal 8.
Solution
Write the .permissions.yml file.
Changelog: https://www.drupal.org/node/2311427
DrupalConsole command to generate permissions is : drupal generate:permissions
Comment | File | Size | Author |
---|---|---|---|
#7 | 2629024-7.patch | 304 bytes | felribeiro |
Comments
Comment #2
felribeiro CreditAttribution: felribeiro at CI&T commentedComment #3
felribeiro CreditAttribution: felribeiro at CI&T commentedComment #4
darol100 CreditAttribution: darol100 as a volunteer and commented@felribeiro, great job. The file looks perfect.
Next time, can you provide a patch instead of the actual file ? I guess it was my fault because I did not said create a patch. Updating the summary just in case we need to comeback to this issue we have more information.
Comment #6
felribeiro CreditAttribution: felribeiro at CI&T commented@darol100, next time I create a patch.
Comment #7
felribeiro CreditAttribution: felribeiro at CI&T commentedComment #8
darol100 CreditAttribution: darol100 as a volunteer and commented@felribeiro,
I have already commit your file. See more at 7bd2908. Thank you for your contribution. =)