You are here

function context_page_alter in Context 6.2

Same name and namespace in other branches
  1. 6.3 context.core.inc \context_page_alter()
  2. 7.3 context.module \context_page_alter()

A preprocess_page() function that is called *before* all other preprocessors (including template_preprocess_page()). This allows any final context conditions to be set and any initial reactions to be triggered.

1 string reference to 'context_page_alter'
context_theme_registry_alter in ./context.core.inc
Implementation of hook_theme_registry_alter().

File

./context.core.inc, line 684

Code

function context_page_alter(&$vars) {
  module_invoke_all('context_page_condition');

  // One final, special, context reaction, for 'default' contexts:
  context_set_by_condition('default', 1);
  module_invoke_all('context_page_reaction');
}