~/talk

Running Drupal 7 code in Drupal 10

Talkat Florida DrupalCamp 2024 · 2024-02-23..02-25· [drupal, php, legacy-modernisation]
links:none on file
name:Darren Oh
links:none on file
slides:none on file

Claims that Retrofit for Drupal runs real Drupal 7 modules inside Drupal 10 by providing a compatibility layer that maps D7 hooks to D10 plugins, with demos of template_field demo and patched CTools. Work involves composer/PSR‑4 autoloading, a bootstrap service provider, ArrayAccess wrappers for FormState, and derivative-based field mapping; tests require PHP CS, PHPStan and PHPUnit. Retrofit already runs on an Estée Lauder site and handles most fields, blocks and theme templates, though some class namespacing and minor fixes remain.

AI-written summary · about

  1. 0:00Introduction to Retrofit
  2. 1:04Why Drupal 7 still matters
  3. 3:09Demo: Template Field module
  4. 8:04Q&A on C Tools compatibility
  5. 12:08Retrofit’s core mechanics
  6. 26:20How Retrofit works under the hood
  7. 31:40Field and block support
  8. 35:39Migration workflow with Retrofit
  9. 37:26Testing and contributing
  10. 43:55Future of Retrofit and automation
  11. 47:06Contributing to Retrofit or modules
  12. 51:02Q&A and closing
~/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.