drupal_set_html_head

Definition

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

Description

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

Code

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

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