- 🇬🇧United Kingdom joachim
> But there is no fixed 1:1 mapping between theme hook names and template files.
This is something that's really confusing about the theming system. There is often a theme hook name and a template file with a matching name, which can make it seem like there's something automatic going on, but AFAICT there isn't.
This also makes it confusing to understand what you're going to get if you use #theme vs #type in render arrays.
E.g. #theme => table and #type => table give you slightly different results!
- 🇫🇷France dqd London | N.Y.C | Paris | Hamburg | Berlin
This is something that's really confusing about the theming system. There is often a theme hook name and a template file with a matching name, which can make it seem like there's something automatic going on, but AFAICT there isn't.
Exactly this ^^ !