You are here

render_cache_page.api.php in Render cache 7.2

File

modules/controller/render_cache_page/render_cache_page.api.php
View source
<?php

/**
 * @param array $build
 *
 * @see render_cache_page_drupal_render_page()
 */
function hook_render_cache_page_pre_render_alter(&$build) {

  // @todo Add example implementation.
}

/**
 * @param string $output
 * @param array $build
 *
 * @see render_cache_page_drupal_render_page()
 */
function hook_render_cache_page_post_render_alter(&$output, &$build) {

  // @todo Add example implementation.
}

/**
 * Allows changing the markup before it is send to the browser.
 *
 * @param string $output
 * @param array $build
 *
 * @see render_cache_page_drupal_render_page()
 */
function hook_render_cache_page_pre_send_alter(&$output, &$build) {

  // @todo Add example implementation.
}

/**
 * Allows sending more data after the main page content has been send to the browser.
 *
 * @param string $output
 * @param array $build
 *
 * @see render_cache_page_drupal_render_page()
 */
function hook_render_cache_page_post_send_alter(&$output, &$build) {

  // @todo Add example implementation.
}

Functions

Namesort descending Description
hook_render_cache_page_post_render_alter
hook_render_cache_page_post_send_alter Allows sending more data after the main page content has been send to the browser.
hook_render_cache_page_pre_render_alter
hook_render_cache_page_pre_send_alter Allows changing the markup before it is send to the browser.