You are here

function joyride_ctools_plugin_api in Joyride JQuery for Drupal Site Tours 7

Implements hook_ctools_plugin_api(). Tell CTools about our module.

File

./joyride.module, line 110

Code

function joyride_ctools_plugin_api($module, $api) {
  if ($module !== 'context') {
    return FALSE;
  }
  switch ($api) {
    case 'context':
      return array(
        'version' => 3,
      );
    case 'plugins':
      return array(
        'version' => 3,
        'path' => drupal_get_path('module', 'joyride') . '/plugins/context',
      );
    default:
      return FALSE;
  }
}