function esi_context_plugins in ESI: Edge Side Includes 6.2
Implements hook_context_plugins to define our custom block context plugin
Return value
array
File
- ./
esi.module, line 691 - Adds support for ESI (Edge-Side-Include) integration, allowing blocks to be\ delivered by ESI, with support for per-block cache times.
Code
function esi_context_plugins() {
$plugins = array();
$plugins['context_reaction_esi_block'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'esi') . '/plugins',
'file' => 'context_reaction_esi_block.inc',
'class' => 'context_reaction_esi_block',
'parent' => 'context_reaction_block',
),
);
return $plugins;
}