You are here

function panels_get_caches in Panels 6.3

Same name and namespace in other branches
  1. 5.2 includes/plugins.inc \panels_get_caches()
  2. 6.2 includes/plugins.inc \panels_get_caches()
  3. 7.3 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 350
Contains helper code for plugins and contexts.

Code

function panels_get_caches() {
  ctools_include('plugins');
  return ctools_get_plugins('panels', 'cache');
}