render_cache_context.module in Render cache 7.2
File
modules/utility/render_cache_context/render_cache_context.module
View source
<?php
function render_cache_context_context_registry_alter(&$registry) {
$registry['reactions']['block']['plugin'] = 'render_cache_hijack_context_reaction_block';
}
function render_cache_context_context_plugins() {
$plugins['render_cache_hijack_context_reaction_block'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'render_cache_context') . '/context/plugins',
'file' => 'render_cache_hijack_context_reaction_block.inc',
'class' => 'render_cache_hijack_context_reaction_block',
'parent' => 'context_reaction_block',
),
);
return $plugins;
}