function themekey_debug_page_alter in ThemeKey 7
Same name and namespace in other branches
- 7.3 themekey_debug.module \themekey_debug_page_alter()
- 7.2 themekey_debug.module \themekey_debug_page_alter()
Implements hook_page_alter().
Prints out debug messages at the end of the page.
Return value
string
File
- ./
themekey_debug.module, line 168 - Provides a debug mode for module ThemeKey.
Code
function themekey_debug_page_alter(&$page) {
if ($messages = themekey_set_debug_message('flush')) {
$page['page_bottom']['themekey'] = array(
'#type' => 'markup',
'#markup' => $messages,
);
}
}