Needs review
Project:
Pure
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jul 2013 at 16:53 UTC
Updated:
30 Jul 2013 at 16:59 UTC
Jump to comment: Most recent file
Given this implementation of hook_suggestions_page()
/**
* Implements hook_suggestions_page();
*/
function mytheme_suggestions_page($vars, $suggestions, $hook) {
$suggestions[] = page__my_page;
return $suggestions;
}
I would expect mytheme_preprocess_page__my_page() to override (be called after) mytheme_preprocess_page(). This is not the case because pure_preprocess() (where suggestions are implemented) is called before specific hook preprocessors.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | support-suggestions-overrides-2053887-1.patch | 966 bytes | draenen |
Comments
Comment #1
draenen commentedA quick call to hook_theme_registry_alter() should do the trick.