Proposed commit message: Issue #939462 by lauriii, Antti J. Salminen, NROTC_Webmaster, mbrett5062, tim.plunkett, tostinni, rteijeiro, dvessel, barraponto, theapi, joelpittet, cilefen, tuutti, drzraf, Fabianx, markcarver, xjm, catch, jenlampton, sun, effulgentsia, Cottser, davidhernandez, kscheirer, andypost, akalata, rooby, hass, fubhy, jhodgdon, lemunet, gleroux02, mike stewart, kevinquillen, MXT, mlncn, becw, PavanL, chriscalip: Specific preprocess functions for theme hook suggestions are not invoked
- This is not considered a beta blocker or critical issue for D8.
- While patches exist in this thread for D7 (and may work for you), official fix will be to D8 first -- please do not switch issue metadata until we are ready to start the D7 backport.
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:
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.
Patch needs review.
User interface changes
Removes the global drupal_group_functions_by_prefix() (moves it to a class to make things testable) which was added May 13, 2015:
Beta phase evaluation
|Issue category||Bug, there was similar functionality to this in Drupal 6, or at least in Views|
|Issue priority||Major because it represents a big improvement to themer/developer experience.|
|Disruption||Little to no disruption, just an addition that core and contrib can choose to use or not use.|
- is working around this issue
- this issue is blocking
- also appears to be blocking ?
PASSED: [[SimpleTest]]: [PHP 5.5 MySQL] 106,671 pass(es). View
PASSED: [[SimpleTest]]: [PHP 5.5 MySQL] 99,019 pass(es). View