~/talk

Rule Your Platform: Leveraging Drupal's Conditions API for Modular Site Control

Talkat DrupalCamp Colorado 2025 · 2025-07-25..07-26· [drupal, software-architecture]
name:Owen Bush
links:none on file
slides:none on file

Drupal’s Conditions API becomes a platform control plane: used to keep one shared configbase for ~40–50 Iowa marketing sites while enabling per-site differences (product taxonomy, a location certification date, custom layout styles, unique views) without config splits. Built and released modules include entity type access conditions, field visibility conditions, views- and layout-style condition plugins and a shared conditions helper. A PHP 8.1 enum-based static settings API auto-generates condition forms, exports as third-party settings, and works in production flows (Pantheon, Tugboat), and the demos (day‑of‑week, domain switching) validate the approach.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:06About Labot and Drupal platform
  3. 3:58What are Drupal conditions API
  4. 6:12Where conditions are used in Drupal
  5. 6:54State of Iowa marketing platform overview
  6. 10:08Custom condition modules created
  7. 13:56Conditions helper module explained
  8. 15:20Static settings and context modules
  9. 17:47Automating conditions with enums
  10. 20:36Live demo of domain-based conditions
  11. 22:00Field visibility and view access conditions
  12. 25:13Custom condition logic examples
  13. 27:03Benefits for multi-site platforms
  14. 27:46Q&A on feature flags and conditions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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.