~/talk

OOP, Design Patterns and Drupal 8

links:none on file
slides:none on file

A custom Drupal 8 module on GitHub implements a presentation_manager service that builds a table of contents, provides getPrevious/getNext slide methods, and powers two configurable blocks (one a context-aware plugin that pulls node images) using dependency injection against the entity_type.manager interface. Routing files map URLs to controller methods (one loaded into the modal API), a table of contents trait lets a controller and block share build logic, libraries YAML loads a small JS, and Twig template suggestions attach the library — everything runs in the demo.

AI-written summary · about

  1. 0:00Start
  2. 3:43Design Patterns
  3. 6:29Organizational Structure
  4. 6:57Services
  5. 8:57Presentation Manager Service
  6. 9:12Create Table of Contents Method
  7. 9:35Configurable Blocks
  8. 13:32Classes
  9. 15:37Abstract Classes
  10. 16:53List Item Base
  11. 17:29Get Possible Values Method
  12. 18:01Abstract Method
  13. 18:45Abstract Methods
  14. 21:33Single Inheritance
  15. 23:06Build Method
  16. 25:17Annotations
  17. 25:41Annotation Parser
  18. 26:09Annotation
  19. 27:10Get Context Value
  20. 27:42Depends Injection
  21. 28:00Types of Dependency Injection
  22. 28:39Dependency Injection
  23. 30:01Interfaces
  24. 31:12Controller
  25. 33:46The Container Factory Plug-In Interface
  26. 34:39Routing
  27. 36:39Libraries
  28. 38:51Hook Theme
  29. 39:09Template Suggestions
  30. 41:30Twig Debugging
~/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.