- Issue created by @acbramley
Found as part of 📌 Move preprocess functions into NodeThemeHooks Active
In theme.api.php we have things like:
Implementations of this hook must be placed in *.module or *.theme files
Along with many references to concrete implementations in core's modules (e.g node).
We should genericise these to make it obvious the documentation doesn't relate to specific implementations in core modules, but rather documents what you can do with the hooks.
Some examples:
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co...
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co...
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co...
https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co... (why is static
here?)
See docs for things like hook_theme_suggestions_HOOK
Figure out what to change
Potentially split into child issues
Active
11.0 🔥
theme system