You are here

function bg_image_context_page_reaction in Background Images 6

Implementation of hook_context_page_reaction().

We need to actually call the reaction at some point or nothing will happen.

File

./bg_image.module, line 326
Allows for customizable background images per page

Code

function bg_image_context_page_reaction() {
  if ($plugin = context_get_plugin('reaction', 'bg_image')) {
    $plugin
      ->execute();
  }
}