You are here

function hook_esi_component in ESI: Edge Side Includes 7.3

Declare a handler for delivering content through ESI.

1 function implements hook_esi_component()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

esi_deliver_esi_component in ./esi.pages.inc
Minimal delivery for an ESI component. Replaces drupal_deliver_html_page().

File

./esi.api.inc, line 10
API documentation for hooks defined by the ESI module.

Code

function hook_esi_component() {
  return array(
    'block' => array(
      'preprocess' => 'esi_block__esi_block_prepare',
      'render' => 'esi_block__esi_block_render',
      'flush' => 'esi_block__esi_block_flush',
      'file' => 'esi_block.esi.inc',
    ),
  );
}