1 bootstrap.inc | backdrop_get_title() |
Gets the title of the current page.
The title is displayed on the page and in the title bar.
Return value
The current page's title.:
File
- core/
includes/ bootstrap.inc, line 2577 - Functions that need to be loaded on every Backdrop request.
Code
function backdrop_get_title() {
$title = backdrop_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;
}