Same name and namespace in other branches
  1. 4.6.x includes/common.inc \drupal_get_html_head()
  2. 4.7.x includes/common.inc \drupal_get_html_head()
  3. 5.x includes/common.inc \drupal_get_html_head()
  4. 7.x includes/common.inc \drupal_get_html_head()

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

4 calls to 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

function drupal_get_html_head() {
  $output = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
  return $output . drupal_set_html_head();
}