Looking for how to create new module permissions in Drupal 8? Look no further, $module.permissions.yml to the rescue! In Drupal 8 permissions are now defined in $module.permissions.yml file instead of using hook_permission(). Drupal 8 Static Permissions Create a new file in the root of your module folder and name it my_module.permissions.yml. [php]# In my_module.permissions.yml file. […]
Up your Drupal game by contributing back to core & modules using Drupal patches. Found a bug, wanna integrate a new feature or maybe you need something specific modified just for your site. In this article, learn how to create patches for Drupal.