| Versions | |
|---|---|
| 4.7 – 6 | drupal_set_html_head($data = NULL) |
Add output to the head tag of the HTML page. This function can be called as long the headers aren't sent.
includes/
<?php
function drupal_set_html_head($data = NULL) {
static $stored_head = '';
if (!is_null($data)) {
$stored_head .= $data . "\n";
}
return $stored_head;
}
?>