You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The D7 backport issue was closed in 2018 as "won't fix" (with the reason being given that "Drupal 7 is, likely, nearing EOL" 🙄)
Problem/Motivation
When you have a template suggestion available and are using that template, preprocess functions following naming conventions provided via hook_theme_suggestions_HOOK() are not being recognized, for example:
MYTHEME_preprocess_node__article() MYTHEME_preprocess_block__search_form_block() MYMODULE_preprocess_page__front() MYMODULE_item_list__search_results()
etc.
Proposed resolution
Add a post-process step to the theme registry build to look for these types of preprocess functions and add them to the theme registry.
The text was updated successfully, but these errors were encountered:
Other than the silliness of the D7 EoL reason, I'm opening this issue as a placeholder, to see whether the rest of the concerns around potential changes in contrib space are valid and to what extend, and whether we can possibly fix this in a non-disruptive way in Backdrop (and if not, then move it to 2.x). Specifically this remark:
Identify and discuss possible side effects.
There would likely be many. We couldn't even begin to think up how many or what kind, mainly due to the fact that this would be affecting hundreds of thousands of existing sites. Who knows what people have done to overcome this bug. ... Contrib has been "fixing" this for years, implementing this now would likely be majorly disruptive to existing sites as it would also likely require whatever contrib module that implemented said "fix" to reverse it and make a release. Thus inadvertently tying a core release with multiple contrib releases.
History:
The text was updated successfully, but these errors were encountered: