You are here

function drupal_get_html_head in Drupal 4

Same name and namespace in other branches
  1. 5 includes/common.inc \drupal_get_html_head()
  2. 6 includes/common.inc \drupal_get_html_head()
  3. 7 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
phptemplate_page in themes/engines/phptemplate/phptemplate.engine
Prepare the values passed to the theme_page function to be passed into a pluggable template engine.
theme_maintenance_page in includes/theme.inc
theme_page in includes/theme.inc
Return an entire Drupal page displaying the supplied content.

File

includes/common.inc, line 115
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";
  $output .= theme('stylesheet_import', base_path() . 'misc/drupal.css');
  return $output . drupal_set_html_head();
}