You are here

function esi_snippet_context in ESI: Edge Side Includes 7.3

2 calls to esi_snippet_context()
esi_deliver_esi_component in ./esi.pages.inc
Minimal delivery for an ESI component. Replaces drupal_deliver_html_page().
esi_handle_component in ./esi.pages.inc
Menu callback to handle an ESI component.

File

./esi.pages.inc, line 56
Delivery handlers for the ESI module.

Code

function esi_snippet_context($snippet_context = NULL) {
  $context =& drupal_static(__FUNCTION__, array());
  if ($snippet_context && is_array($snippet_context)) {
    $context = $snippet_context;
  }
  return $context;
}