Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
theme system
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
9 Nov 2012 at 05:01 UTC
Updated:
29 Jul 2014 at 21:29 UTC
Use http://drupal.org/node/956520#comment-3718546 as base, which got totally changed in scope.
Task is:
If something calls theme('foo__bar__baz'), pre-fill theme_hook_suggestions with:
foo
foo__bar
foo__bar__baz
and let preprocess functions add to this. (in reverse order)
Comments
Comment #1
fabianx commentedNeeded for variable inspector.
Comment #2
fabianx commentedDuplicate of revamped #956520-46: Available theme hook suggestions are only exposed when there are preprocess functions defined.