You are here

function context_layouts_context_page_reaction in Context 6

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

Implementation of hook_context_page_reaction().

File

context_layouts/context_layouts.module, line 43

Code

function context_layouts_context_page_reaction() {
  $plugin = context_get_plugin('reaction', 'block');
  if ($plugin && method_exists($plugin, 'add_layout_stylesheet')) {
    $plugin
      ->add_layout_stylesheet();
  }
}