4.6.x bootstrap.inc drupal_get_title()
4.7.x path.inc drupal_get_title()
5.x path.inc drupal_get_title()
6.x path.inc drupal_get_title()
7.x bootstrap.inc drupal_get_title()

Get the title of the current page, for display on the page and in the title bar.

4 calls to drupal_get_title()
chameleon_page in themes/chameleon/chameleon.theme
statistics_exit in modules/statistics.module
Implementation of hook_exit().
theme_page in includes/theme.inc
Return an entire Drupal page displaying the supplied content.
xtemplate_page in themes/engines/xtemplate/xtemplate.engine


includes/bootstrap.inc, line 390
Functions that need to be loaded on every Drupal request.


function drupal_get_title() {
  $title = drupal_set_title();
  if (!isset($title)) {

    // during a bootstrap, menu.inc is not included and thus we cannot provide a title
    if (function_exists('menu_get_active_title')) {
      $title = check_plain(menu_get_active_title());
  return $title;