~/talk

The Form API Workflow

Talkat DrupalCamp Spain 2023 · 2023-09-21..09-23· [php, web-performance]
links:none on file
slides:none on file

Step through the actual Form API request lifecycle from build to final response: Form API Internal Workflow shows five stages—retrieve/prepare, recursive build, validate, submit, reveal—with specific handlers called and when form_state values persist to the DB. Examples include process callbacks expanding a single date element into three (core uses >100) and after_build hooks (core uses <10). Covers cache/persistence, Ajax return of commands, and the rule: Ajax callbacks must not mutate the form.

AI-written summary · about

  1. 0:00Introduction to Form API
  2. 1:56What is the Form API
  3. 4:47Simplified workflow
  4. 9:53Detailed workflow stages
  5. 23:29Cache and persistence
  6. 25:41AJAX requests handling
  7. 29:14Complete workflow illustration
  8. 31:01Key takeaways
~/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.