You are here

function esi_element_info in ESI: Edge Side Includes 7.3

Implements hook_element_info().

File

./esi.module, line 78
Adds support for ESI (Edge-Side-Include) integration, allowing components\ to be delivered by ESI, with support for per-component cache times.

Code

function esi_element_info() {
  $types['esi'] = array(
    '#url' => '',
    '#mode' => '',
    '#pre_render' => array(
      'esi_prerender_esi_tag',
    ),
    '#theme' => 'esi_tag',
  );
  return $types;
}