Problem/Motivation
As a themer, i expect to easily be able to customize templates for specific bundles and view modes of any entity without affecting other bundles and view modes of the same entity.
Steps to reproduce
Enable twig debugging and look for FILE NAME SUGGESTIONS, there are none. Try making a template such as registration--full.html.twig for a "Full" view mode; it does not work.
Proposed resolution
We could do this in Twig Template Suggester, but it feels like a simple oversight for Registration module, which should provide the same types of template suggestions that core does for node, media, etc.
Remaining tasks
(Give the go-ahead to) add template suggestions:
registration--[bundle]
registration--[view-mode]
registration--[bundle]--[view-mode]
User interface changes
None.
API changes
These template suggestion additions.
Data model changes
None.
Comments
Comment #2
john.oltman commentedMakes sense, thank you. Please proceed if you were intending to do a MR. Hopefully it will not create any duplicate suggestions if anyone is already creating some or all of the same suggestions in a custom module.