drupal_set_title
Definition
drupal_set_title($title = NULL)
includes/path.inc, line 202
Description
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.
Code
<?php
function drupal_set_title($title = NULL) {
static $stored_title;
if (isset($title)) {
$stored_title = $title;
}
return $stored_title;
}
?> 