Your First Drupal 8(or 9!) Module
summary
Stepwise builds a roll_notices module from a blank PHP file to a working module in eight stages, adding routes, a settings Form API page, a block plugin, module permissions, and a service that centralizes get/set of notices stored via the state service. It adds cache metadata — cache contexts and tags — so updated notices re-render, offers a user-role-aware block and an edit tab on user listing, and swaps deprecated drupal_set_message plus info file changes to make the code Drupal 9–compatible; source with git tags is provided.
AI-written summary · about
chapters (4)
related talks
43mYour First Drupal 9(or 8) Module
41mDrupal 8 Module Development
41mWhat’s New in Drupal 8?
35mDrupal 7 to 8 custom module conversion
57mWhen there's not a module for that
52mAutomate Drupal 9 upgrades: Addressing deprecated code as a community
01h 09m"Driesnote"
49mTools to Get Started with a Drupal 8 Project
