function _cache_actions_get_mini_panels in Cache Actions 7
1 string reference to '_cache_actions_get_mini_panels'
- cache_actions_rules_action_info in ./
cache_actions.rules.inc - Implementation of hook_rules_action_info().
File
- ./
cache_actions.rules.inc, line 283 - This file provides the rules integration for this module.
Code
function _cache_actions_get_mini_panels() {
ctools_include('plugins', 'panels');
$available_panels = array();
$mini_panels = panels_mini_load_all();
foreach ($mini_panels as $mini_panel) {
$available_panels[$mini_panel->name] = $mini_panel->name;
}
return $available_panels;
}