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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darol100 created an issue. See original summary.

felribeiro’s picture

FileSize
136 bytes
felribeiro’s picture

Status: Active » Needs review
darol100’s picture

Issue summary: View changes
Status: Needs review » Fixed

@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.

  • darol100 committed 7bd2908 on 8.x-2.x
    Issue #2629024 by felribeiro: Mobile_Detect - hook_permission Drupal 8...
felribeiro’s picture

@darol100, next time I create a patch.

felribeiro’s picture

FileSize
304 bytes
darol100’s picture

@felribeiro,

I have already commit your file. See more at 7bd2908. Thank you for your contribution. =)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.