Community Documentation

drupal_get_html_head

5 common.inc drupal_get_html_head()
6 common.inc drupal_get_html_head()
7 common.inc drupal_get_html_head()
8 common.inc drupal_get_html_head()

Retrieve output to be displayed in the head tag of the HTML page.

▾ 4 functions call drupal_get_html_head()

chameleon_page in themes/chameleon/chameleon.theme
template_preprocess_book_export_html in modules/book/book.module
Process variables for book-export-html.tpl.php.
template_preprocess_maintenance_page in includes/theme.maintenance.inc
The variables generated here is a mirror of template_preprocess_page(). This preprocessor will run it's course when theme_maintenance_page() is invoked. It is also used in theme_install_page() and theme_update_page() to keep all the variables…
template_preprocess_page in includes/theme.inc
Process variables for page.tpl.php

File

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

Code

<?php
function drupal_get_html_head() {
  $output = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
  return $output . drupal_set_html_head();
}
?>
Login or register to post comments