function drupal_page_footer

You are here

7 common.inc drupal_page_footer()
4.6 common.inc drupal_page_footer()
4.7 common.inc drupal_page_footer()
5 common.inc drupal_page_footer()
6 common.inc drupal_page_footer()

Perform end-of-request tasks.

This function sets the page cache if appropriate, and allows modules to react to the closing of the page by calling hook_exit().

1 call to drupal_page_footer()
index.php in ./index.php
The PHP page that serves all page requests on a Drupal installation.

File

includes/common.inc, line 1668
Common functions that many Drupal modules will need to reference.

Code

function drupal_page_footer() {
  if (variable_get('cache', CACHE_DISABLED) != CACHE_DISABLED) {
    page_set_cache();
  }

  module_invoke_all('exit');
}