Needs review
Project:
Display Builder
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2026 at 06:14 UTC
Updated:
4 Oct 2026 at 14:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pdureau commentedAccording to @fathershawn, we can use this to be be compatible with both:
I guess compatibility here means: we keep using htmx2 API in Display Builder as long as we support Drupal 11.x, but those tricks make us compatible with Drupal 12.
Also, for "Attribute inheritance", i guess being explicit (which is mandatory in htmx4) is backward compatible with htmx2, because same mechanism and keywords.
Let's check all this.
Comment #3
rajab natshahOn Drupal 12.0.0-beta1 (PHP 8.5) with ^12 in the info files, Display Builder 1.0.0-beta8 installs and pages render, but builder pages return 500: HtmxEvents::onClickSavePreset() calls Htmx::prompt(), removed with htmx 4. With that call guarded, the canvas shows but the toolbar stays empty. display_builder_views also fails, because ViewDisplay::collectInstances() reads the now protected View::$display.
Comment #5
rajab natshah