function drupal_set_title
7.x bootstrap.inc | drupal_set_title($title = NULL, |
6.x path.inc | drupal_set_title($title = NULL) |
Set the title of the current page, for display on the page and in the title bar.
Parameters
$title: Optional string value to assign to the page title; or if set to NULL (default), leaves the current title unchanged.
Return value
The updated title of the current page.
58 calls to drupal_set_title()
- aggregator_page_source in drupal-6.x/
modules/ aggregator/ aggregator.pages.inc - Menu callback; displays all the items captured from a particular feed.
- block_admin_configure in drupal-6.x/
modules/ block/ block.admin.inc - Menu callback; displays the block configuration form.
- blog_page_user in drupal-6.x/
modules/ blog/ blog.pages.inc - Menu callback; displays a Drupal page containing recent blog entries of a given user.
- book_admin_edit in drupal-6.x/
modules/ book/ book.admin.inc - Build the form to administrate the hierarchy of a single book.
- book_outline in drupal-6.x/
modules/ book/ book.pages.inc - Menu callback; show the outline form for a single node.
File
- drupal-6.x/
includes/ path.inc, line 206 - Functions to handle paths in Drupal, including path aliasing.
Code
function drupal_set_title($title = NULL) {
static $stored_title;
if (isset($title)) {
$stored_title = $title;
}
return $stored_title;
}