function panels_get_caches in Panels 7.3
Same name and namespace in other branches
- 5.2 includes/plugins.inc \panels_get_caches()
- 6.3 includes/plugins.inc \panels_get_caches()
- 6.2 includes/plugins.inc \panels_get_caches()
Fetch metadata for all context plugins.
Return value
An array of arrays with information about all available panel caches.
2 calls to panels_get_caches()
- panels_edit_cache_method_form in plugins/
display_renderers/ panels_renderer_editor.class.php - Choose cache method form.
- panels_renderer_editor::get_pane_links in plugins/
display_renderers/ panels_renderer_editor.class.php - Render the links to display when editing a pane.
File
- includes/
plugins.inc, line 361 - Contains helper code for plugins and contexts.
Code
function panels_get_caches() {
ctools_include('plugins');
return ctools_get_plugins('panels', 'cache');
}