drupal_set_html_head

Definition

drupal_set_html_head($data = NULL)
includes/common.inc, line 103

Description

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

Code

<?php
function drupal_set_html_head($data = NULL) {
  static $stored_head = '';

  if (!is_null($data)) {
    $stored_head .= $data ."\n";
  }
  return $stored_head;
}
?>
 
 

Drupal is a registered trademark of Dries Buytaert.