Same name and namespace in other branches
  1. 4.7.x includes/common.inc \drupal_get_html_head()
  2. 5.x includes/common.inc \drupal_get_html_head()
  3. 6.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.

3 calls to drupal_get_html_head()
chameleon_page in themes/chameleon/chameleon.theme
theme_page in includes/theme.inc
Return an entire Drupal page displaying the supplied content.
xtemplate_page in themes/engines/xtemplate/xtemplate.engine

File

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

Code

function drupal_get_html_head() {
  global $base_url;
  $output = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n";
  $output .= "<base href=\"{$base_url}/\" />\n";
  $output .= theme('stylesheet_import', 'misc/drupal.css');
  return $output . drupal_set_html_head();
}