~/talk

When there's not a module for that

Talkat MidCamp 2020 · 2020-03-19..03-21· [php, developer-experience]
links:none on file
links:none on file
slides:none on file

Shows how to ship a working Drupal extension with minimal files: an info.yml plus a .module file (often three or four lines) can implement a hook_form_alter that renames the node submit button to "Reanimate" without breaking submit behavior. Demonstrates a simple block plugin (src/Plugin/Block with namespace, extend BlockBase, build() returning #markup) and a custom field formatter for entity_reference/taxonomy terms. Covers contributing patches and tests, pulling a dev module via Composer require, and when to fork versus extend existing contrib.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:42Creating custom modules
  3. 6:13Finding module solutions
  4. 9:22When to contribute vs build
  5. 13:59Finding contributed modules
  6. 21:58Planning your module
  7. 22:43Building block plugins
  8. 31:05Field formatters and plugins
  9. 36:46Learning from existing modules
  10. 45:23Contributing back to Drupal
  11. 48:21Sharing modules with Composer
  12. 53:50Final advice and Q&A
~/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.