You are here

function drupal_set_html_head in Drupal 5

Same name and namespace in other branches
  1. 4 includes/common.inc \drupal_set_html_head()
  2. 6 includes/common.inc \drupal_set_html_head()

Add output to the head tag of the HTML page. This function can be called as long the headers aren't sent.

7 calls to drupal_set_html_head()
chameleon_page in themes/chameleon/chameleon.theme
drupal_add_link in includes/common.inc
Add a <link> tag to the page's HEAD.
drupal_get_html_head in includes/common.inc
Retrieve output to be displayed in the head tag of the HTML page.
phptemplate_page in themes/engines/phptemplate/phptemplate.engine
Prepare the values passed to the theme_page function to be passed into a pluggable template engine. Uses the arg() function to generate a series of page template files suggestions based on the current path. If none are found, the default page.tpl.php…
theme_install_page in includes/theme.inc

... See full list

File

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

Code

function drupal_set_html_head($data = NULL) {
  static $stored_head = '';
  if (!is_null($data)) {
    $stored_head .= $data . "\n";
  }
  return $stored_head;
}