Closed (fixed)
Project:
Display Builder
Version:
1.0.x-dev
Component:
Main / Misc.
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Feb 2026 at 09:28 UTC
Updated:
13 Mar 2026 at 17:20 UTC
Jump to comment: Most recent
Comments
Comment #2
mogtofu33 commentedLooks like we either have to go full contentEntity with contentEntityStorage or push the json:api patch to core?
Comment #3
pdureau commentedExactly. Both are good:
Comment #4
pdureau commentedMaking progress, will push soon
Comment #6
pdureau commentedHello Jean,
I have pushed a proposal.
Good news, the change "forced" me to remove the fake "src/Entity/ContentEntityBase.php" added in beta2, so the MR is removing 300 lines of code :)
Main changes:
#[ContentEntityType(as attributes (this is the part expected by JSON API)ContentEntityTypeattributes is expectingContentEntityStorageInterfaceso it extendsContentEntityStorageBasenow, with the addition of a few useless but necessary methods.ContentEntityStorageBase::initFieldValues().and similar mechanisms, some ofInstanceclass properties must now be publicPlaywright is green.
PHPunit has a fail, but I don't know how to fix:
Comment #7
mogtofu33 commentedSeems like we can have a bit more cleanup, but I have issues with existing instances (with saved states), I will check for a hook update.
Comment #8
mogtofu33 commented