This is a proposal for the new Drupal 8 theme system. It consists of 5 Phases.
Example for terminology: For the following explanation and all examples, let's say we are working with a node of type Article.
- hook = the name of the module or theme that is inplementing the hook (examples at bottom)
- THEME_ID = name of the theme hook. for the node template his will be
node
. - SUGGESTION_ID = name of the template suggestion. for the node template, this will be
article
.