function context_ui_page_build in Context 7.3
Implementation of hook_page_build(). Turn off the context_ui functionality if we move to a different page
File
- context_ui/
context_ui.module, line 425
Code
function context_ui_page_build(&$page) {
if (!context_get('context_ui', 'context_ui_editor_present') && isset($_SESSION['context_ui_active'])) {
$_SESSION['context_ui_active'] = FALSE;
}
}