You are here

function joyride_init in Joyride JQuery for Drupal Site Tours 7

Implements hook_init(). Perform setup tasks for non-cached page requests.

See also

http://api.drupalize.me/api/drupal/function/hook_init/7

File

./joyride.module, line 129

Code

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