You are here

cache_actions.module in Cache Actions 6.2

Same filename and directory in other branches
  1. 6 cache_actions.module
  2. 7.2 cache_actions.module
  3. 7 cache_actions.module

This is the module file. It contains hooks for panels and views.

File

cache_actions.module
View source
<?php

/**
 * @file
 * This is the module file. It contains hooks for panels and views.
 */

/**
 * Implementation of hook_views_api().
 */
function cache_actions_views_api() {
  return array(
    'api' => 2.0,
  );
}

/**
 * Implementation of hook_ctools_plugin_directory().
 */
function cache_actions_ctools_plugin_directory($module, $plugin) {
  if (($module == 'page_manager' || $module == 'panels' || $module == 'ctools') && !empty($plugin)) {
    return "plugins/{$plugin}";
  }
}