You are here

function panels_get_cache in Panels 7.3

Same name and namespace in other branches
  1. 5.2 includes/plugins.inc \panels_get_cache()
  2. 6.3 includes/plugins.inc \panels_get_cache()
  3. 6.2 includes/plugins.inc \panels_get_cache()

Fetch metadata on a specific caching plugin.

Parameters

$cache: Name of a panel cache.

Return value

An array with information about the requested panel cache.

5 calls to panels_get_cache()
panels_edit_cache_settings_form in plugins/display_renderers/panels_renderer_editor.class.php
Cache settings form.
panels_renderer_editor::ajax_cache_method in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point to configure the cache method for a pane or the display.
panels_renderer_editor::ajax_cache_settings in plugins/display_renderers/panels_renderer_editor.class.php
AJAX entry point to configure the cache settings for a pane or the display.
panels_renderer_editor::get_display_links in plugins/display_renderers/panels_renderer_editor.class.php
Get the links for a panel display.
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_cache($cache) {
  ctools_include('plugins');
  return ctools_get_plugins('panels', 'cache', $cache);
}