drupal_set_title

Definition

drupal_set_title($title = NULL)
includes/bootstrap.inc, line 406

Description

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

Code

<?php
function drupal_set_title($title = NULL) {
  static $stored_title;

  if (isset($title)) {
    $stored_title = $title;
  }
  return $stored_title;
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.