function _cache_actions_get_panes in Cache Actions 7
Same name and namespace in other branches
- 7.2 cache_actions.rules.inc \_cache_actions_get_panes()
Get Panel Panes.
1 string reference to '_cache_actions_get_panes'
- cache_actions_rules_action_info in ./
cache_actions.rules.inc - Implementation of hook_rules_action_info().
File
- ./
cache_actions.rules.inc, line 274 - This file provides the rules integration for this module.
Code
function _cache_actions_get_panes() {
$data = _cache_actions_get_panels_handlers(TRUE);
// Add javascript for handling the ui controls in the settings form.
drupal_add_js($data['js'], 'setting');
drupal_add_js(drupal_get_path('module', 'cache_actions') . '/js/cache_actions.js');
return $data['panes'];
}