theme_get_styles

  1. drupal
    1. 4.7
Versions
4.7 theme_get_styles()

Return the HTML for a theme's stylesheets.

▾ 4 functions call theme_get_styles()

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.

Code

includes/theme.inc, line 346

<?php
function theme_get_styles() {
  $output = '';
  foreach (theme_add_style() as $style) {
    $output .= theme('stylesheet_import', $style->path, $style->media);
  }
  return $output;
}
?>