~/talk

Drupal 8 theme best practices - here's where we burried the bodies

Talkat Frontend United 2016 · 2016-05-27..05-28· [php, frontend-architecture]
name:Mortendk
links:none on file
slides:none on file

Claims that Drupal 8 theming is a full rethink not just Twig syntax change with concrete results: Classy and Stable base themes live in core so themes can rely on stable markup, the site uses about 135 template files organized into base/components/layout folders, debugging runs via Kint and Drupal Template Helper plus twig debugging set in services.yml, examples show attach_library/libraries.yml, attributes.addClass/removeClass, inline SVG menus, and a components/Pattern Lab workflow that actually ships.

AI-written summary · about

  1. 0:00Start
  2. 4:16Google Design Camp
  3. 5:04The Angry Steamer
  4. 8:02Build a Base Theme
  5. 8:31Why Do We Have Two Different Based Themes in Drupal Core
  6. 10:54Debugging
  7. 11:45The Drupal Template Helper
  8. 13:01Quick Libraries Debug
  9. 13:56Templates
  10. 14:27Group Your Templates
  11. 15:02Template Naming
  12. 18:24Fields
  13. 19:21Field Template
  14. 24:40Set Classes
  15. 26:29Attributes Attribute
  16. 27:25Remove a Class
  17. 31:01Pre Process
  18. 32:09Libraries
  19. 33:53Declare Dependencies
  20. 35:43Inline Libraries
  21. 38:36Trick Blocks
  22. 38:49Trick Block
  23. 44:27Menu Links
  24. 54:00Components
~/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.