function hook_esi_component_info_alter in ESI: Edge Side Includes 7.3
Alter the ESI handlers.
Parameters
Array $esi_component_info: Array of ESI component handlers.
See also
hook_esi_component_info().
1 invocation of hook_esi_component_info_alter()
- esi_get_components in ./
esi.module - List all the modules which implement hook_esi_component_info().
File
- ./
esi.api.inc, line 29 - API documentation for hooks defined by the ESI module.
Code
function hook_esi_component_info_alter(&$esi_component_info) {
// Change the block handler to use a custom renderer.
$esi_component_info['block']['render'] = 'my_custom_fast_renderer';
}