cache_actions.module in Cache Actions 7
Same filename and directory in other branches
This is the module file. It contains hooks for panels and views.
File
cache_actions.moduleView 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,
'path' => drupal_get_path('module', 'cache_actions') . '/plugins/views',
);
}
/**
* 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}";
}
}
Functions
Name | Description |
---|---|
cache_actions_ctools_plugin_directory | Implementation of hook_ctools_plugin_directory(). |
cache_actions_views_api | Implementation of hook_views_api(). |