- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I would think we'd like to keep the presentation logic separate from the business logic.
I think perhaps we should move this to the ideas queue and flesh out a design, so I've done that
One thing that I think is worth exploring is something like Bundle class attributes β
@mstrelan pointed out in slack that the Typed Entity module has an API for 'renderers' and that feels like it provides additional layers of separation.
- Status changed to Active
3 days ago 9:10am 31 May 2025 - π³πΏNew Zealand quietone
The Ideas project is being deprecated. This issue is moved to the Drupal project. Check that the selected component is correct. Also, add the relevant tags, especially any 'needs manager review' tags.
Changing to the standard issue template β would also help other contributors.
- πΊπΈUnited States dww
Now that hooks can be implemented with attributes, canβt we have bundle classes implementing any needed hooks directly? What else is there to now explore?
- πΊπΈUnited States nicxvan
Hooks have to be in the hooks namespace for now until https://www.drupal.org/project/drupal/issues/3481903 β¨ Support hooks (Hook attribute) in components Active
But maybe we do that other one first.