theme_closure

Versions
5 – 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) Whether the current page is the front page of the site.

Return value

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

Related topics

Code

drupal/includes/theme.inc, line 1009

<?php
function theme_closure($main = 0) {
  $footer = module_invoke_all('footer', $main);
  return implode("\n", $footer) . drupal_get_js('footer');
}
?>

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.