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.

Return value

The current page's title.

5 calls to drupal_get_title()
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.
statistics_exit in modules/statistics.module
Implementation of hook_exit().
theme_maintenance_page in includes/theme.inc
theme_page in includes/theme.inc
Return an entire Drupal page displaying the supplied content.


includes/path.inc, line 167
Functions to handle paths in Drupal, including path aliasing.


function drupal_get_title() {
  $title = drupal_set_title();

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