Voting starts in March for the Drupal Association Board election.
This patch implements #theme_wrapper to theme an individual block. That let us simplify the rendering code and even remove a drupal_render() call in template_preprocess_block().
The innovation above let me fix an annoyance in hook_page_alter() where the main page content is buried under $page['content']['blocks']['system-main']['#block']['content']. Particularly ugly is the #block there. This patch moves all block content up to $page['content]['system-main'] (for example). Thats significantly simpler.
Passed: 11089 passes, 0 fails, 0 exceptions View
Failed: 11892 passes, 14 fails, 0 exceptions View
|#5||block_render_cleanup.patch||5.49 KB||moshe weitzman|
Failed: Failed to apply patch. View
|block_render_cleanup.patch||4.05 KB||moshe weitzman|
Failed: 11792 passes, 14 fails, 0 exceptions View