~/talk

Your First Drupal 9(or 8) Module

Talkat DrupalCamp NJ 2020 · 2020-01-31..02-01· [php, web-platform]
links:none on file
slides:none on file

A compact walkthrough that builds the role_notices module step by step: info, routing and menu links, a permissions entry, a settings form that stores per-role text in state, a block plugin that shows notices, and a service-based notices manager to decouple storage. Demo exposes a caching bug and then fixes it with cache tags invalidation on save so blocks update correctly. All code is on drupal.org with tagged demos and the final module runs on both Drupal 8 and 9.

AI-written summary · about

  1. 0:00Introduction
  2. 0:41Audience
  3. 1:26Problem
  4. 1:39Example
  5. 1:52Agenda
  6. 2:23Module Demo
  7. 4:18Hello World
  8. 5:14Routing
  9. 8:58T4 Translate
  10. 9:44Menu Items
  11. 10:19Top Menu
  12. 10:44Route Name
  13. 13:43Assign Roles
  14. 15:59Create Form Interface
  15. 17:55Create Local Tasks
  16. 20:52Submit Form
  17. 22:40Save Form
  18. 23:13Form for Multiple
  19. 24:38Messenger
  20. 25:56Block
  21. 30:17Block Layout
  22. 32:06Notices Manager
  23. 33:15Service
  24. 34:31Services
  25. 36:47Cash Support
  26. 38:14Clear Cache
  27. 41:11Core Version Requirement
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.