drupal_set_title

Versions
4.6 – 6
drupal_set_title($title = NULL)
7
drupal_set_title($title = NULL, $output = CHECK_PLAIN)

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

▾ 30 functions call drupal_set_title()

block_admin_configure in modules/block.module
Menu callback; displays the block configuration form.
blog_page_user in modules/blog.module
Displays a Drupal page containing recent blog entries of a given user.
book_outline in modules/book.module
Implementation of function book_outline() Handles all book outline operations.
book_render in modules/book.module
Menu callback; prints a listing of all books.
comment_reply in modules/comment.module
drupal_access_denied in includes/common.inc
Generates a 403 error if the request is not allowed.
drupal_get_title in includes/bootstrap.inc
Get the title of the current page, for display on the page and in the title bar.
drupal_not_found in includes/common.inc
Generates a 404 error if the request can not be handled.
forum_page in modules/forum.module
Menu callback; prints a forum listing.
node_add in modules/node.module
Present a node submission form or a set of links to such forms.
node_edit in modules/node.module
Present a node editing form.
node_page in modules/node.module
Menu callback; dispatches control to the appropriate operation handler.
node_revision_overview in modules/node.module
Generate an overview table of older revisions of a node.
path_admin_edit in modules/path.module
Menu callback; handles pages for creating and editing URL aliases.
poll_results in modules/poll.module
Callback for the 'results' tab for polls you can vote on
profile_admin_add in modules/profile.module
Menu callback; adds a new field to all user profiles.
profile_admin_edit in modules/profile.module
Menu callback; displays the profile field editing form.
profile_browse in modules/profile.module
Menu callback; display a list of user information.
queue_overview in modules/queue.module
Display a page listing the nodes in the submission queue.
statistics_node_tracker in modules/statistics.module
statistics_top_pages in modules/statistics.module
Menu callback; presents the "Top pages" page.
statistics_top_referrers in modules/statistics.module
Menu callback; presents the "Top referrers" page.
statistics_top_users in modules/statistics.module
Menu callback; presents the "Top users" page.
statistics_user_tracker in modules/statistics.module
taxonomy_term_page in modules/taxonomy.module
Menu callback; displays all nodes associated with a term.
theme_confirm in includes/theme.inc
Output a confirmation form
theme_forum_display in modules/forum.module
Format the forum body.
tracker_track_user in modules/tracker.module
Menu callback. Prints a listing of active nodes on the site.
user_edit in modules/user.module
user_view in modules/user.module

Code

includes/bootstrap.inc, line 406

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

  if (isset($title)) {
    $stored_title = $title;
  }
  return $stored_title;
}
?>
Login or register to post comments
 
 

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.