By maxpah on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
3.0.x
Introduced in version:
3.0.0-rc3
Description:
Release notes
- Coding standards
- Dynamically creates the themes of subentity types
Breaking changes
You need to define all SUBENTITY.html.twig templates.
For example, if you create a new subentity type with machine name "my_subentity_type" and want to write specific .html.twig template, you have to copy the subentity.html.twig into my-subentity-type.html.twig in your custom theme.
Be careful
If you already defined some twig templates like this : subentity--<subentity-machine-name>.html.twig, you have to rename it as <subentity-machine-name>.html.twig
For example, subentity--my-subentity-type.html.twig => my-subentity-type.html.twig