theme_closure

Versions
4.6 – 6
theme_closure($main = 0)

Execute hook_footer() which is run at the end of the page right before the close of the body tag.

Parameters

$main (optional)

Return value

A string containing the results of the hook_footer() calls.

Related topics

Code

includes/theme.inc, line 919

<?php
function theme_closure($main = 0) {
  $footer = module_invoke_all('footer', $main);
  return implode("\n", $footer);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.