~/talk

Next Level Twig: Extensions

name:Will Long
links:none on file
slides:none on file

Shows how to add real Twig extensions to Drupal 8: uses Twig Tweak and the twig_extensions library, then walks through building a custom module that registers a service tagged twig.extension and exposes countdown filter and function implementations that call Drupal’s date formatter. Demonstrates adding the filter to a theme template, clearing caches, and the output working; advises wrapping existing services rather than embedding DB queries or heavy logic in templates.

AI-written summary · about

  1. 0:00Intro
  2. 0:21About Us
  3. 0:47Twig Limitations
  4. 2:30Twig Extensions
  5. 2:40Tags
  6. 3:07Filters Functions
  7. 3:33Core Filters
  8. 3:57Drupal Functions
  9. 4:07TwigTweak
  10. 5:53Twig Extensions Module
  11. 6:30Custom Extensions
  12. 6:58Defining a Service
  13. 7:11Creating a Service
  14. 7:21Filters and Functions
  15. 7:49The Good Parts
  16. 9:13Adding the Tags
  17. 18:37Keys to Success
  18. 18:56Pass Throughs
  19. 19:51Golden Rule
  20. 20:36Resources
  21. 21:10Questions
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.