You are here

function context_layouts_preprocess_page in Context 6.3

Same name and namespace in other branches
  1. 6 context_layouts/context_layouts.module \context_layouts_preprocess_page()
  2. 7.3 context_layouts/context_layouts.module \context_layouts_preprocess_page()

Preprocessor for theme('page').

File

context_layouts/context_layouts.module, line 53

Code

function context_layouts_preprocess_page(&$vars) {
  $plugin = context_get_plugin('reaction', 'block');
  if ($plugin && method_exists($plugin, 'add_layout_template')) {
    $plugin
      ->add_layout_template($vars);
  }
}