Skip to content

Commit

Permalink
Renamed the cache implementation (from esi_panels to esi).
Browse files Browse the repository at this point in the history
  • Loading branch information
manarth committed Mar 1, 2012
1 parent 18c34b4 commit 6eb893b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
22 changes: 22 additions & 0 deletions modules/esi_panels/plugins/cache/esi.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php
/**
* @file
* ESI cache plugin. Substitutes esi-tags for a panel-pane's content.
*/

// Plugin definition
$plugin = array(
'title' => t("ESI"),
'description' => t('ESI caching is a proxy-based cache. Panes are replaced by <esi> tags and requested separately by the proxy.'),
'cache get' => 'esi_panels_esi_cache_get_cache',
'cache set' => 'esi_panels_esi_cache_set_cache',
'cache clear' => 'esi_panels_esi_cache_clear_cache',
'settings form' => 'esi_panels_esi_cache_settings_form',
'settings form submit' => 'esi_panels_esi_cache_settings_form_submit',
'defaults' => array(
// // TODO: review settings.
// 'max_age' => (int)variable_get('esi_panels_esi_panels_default_max_age', ESI_PANEL_DEFAULT_MAX_AGE),
// 'scope' => (int)variable_get('esi_panels_esi_panels_default_scope', ESI_PANEL_DEFAULT_SCOPE),
),
);

21 changes: 0 additions & 21 deletions modules/esi_panels/plugins/cache/esi_panels.inc

This file was deleted.

0 comments on commit 6eb893b

Please sign in to comment.