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.
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.
▾ 53 functions call drupal_set_title()
- block_admin_configure in modules/block/block.module
- Menu callback; displays the block configuration form.
- blog_page_user in modules/blog/blog.module
- Displays a Drupal page containing recent blog entries of a given user.
- book_admin_edit in modules/book/book.module
- Display an administrative view of the hierarchy of a book.
- book_outline in modules/book/book.module
- Implementation of function book_outline() Handles all book outline operations.
- comment_form_add_preview in modules/comment/comment.module
- confirm_form in modules/system/system.module
- Output a confirmation form
- contact_user_page in modules/contact/contact.module
- Personal contact page.
- db_connect in includes/database.pgsql.inc
- Initialize a database connection.
- db_set_active in includes/database.inc
- Activate a database for future queries.
- drupal_access_denied in includes/common.inc
- Generates a 403 error if the request is not allowed.
- drupal_get_title in includes/path.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.
- drupal_site_offline in includes/common.inc
- Generates a site off-line message
- help_page in modules/help/help.module
- Menu callback; prints a page listing general help for all modules.
- install_already_done_error in ./install.php
- Show an error page when Drupal has already been installed.
- install_change_settings in ./install.php
- Configure and rewrite settings.php.
- install_check_requirements in ./install.php
- Page to check installation requirements and report any errors.
- install_complete in ./install.php
- Page displayed when the installation is complete. Called from install.php.
- install_missing_modules_error in ./install.php
- Show an error page when Drupal is missing required modules.
- install_no_profile_error in ./install.php
- Show an error page when there are no profiles available.
- install_select_locale in ./install.php
- Find all .po files for the current profile and allow admin to select which to use.
- install_select_profile in ./install.php
- Find all .profile files and allow admin to select which to install.
- node_add in modules/node/node.module
- Present a node submission form or a set of links to such forms.
- node_page_default in modules/node/node.module
- Menu callback; Generate a listing of promoted nodes.
- node_page_edit in modules/node/node.module
- Menu callback; presents the node editing form, or redirects to delete confirmation.
- node_page_view in modules/node/node.module
- Menu callback; view a single node.
- node_preview in modules/node/node.module
- Generate a node preview.
- node_revisions in modules/node/node.module
- Menu callback for revisions related activities.
- node_revision_overview in modules/node/node.module
- Generate an overview table of older revisions of a node.
- path_admin_edit in modules/path/path.module
- Menu callback; handles pages for creating and editing URL aliases.
- poll_results in modules/poll/poll.module
- Callback for the 'results' tab for polls you can vote on
- poll_votes in modules/poll/poll.module
- Callback for the 'votes' tab for polls you can see other votes on
- profile_browse in modules/profile/profile.module
- Menu callback; display a list of user information.
- profile_field_form in modules/profile/profile.module
- Menu callback: Generate a form to add/edit a user profile field.
- statistics_node_tracker in modules/statistics/statistics.module
- statistics_top_pages in modules/statistics/statistics.module
- Menu callback; presents the "top pages" page.
- statistics_top_referrers in modules/statistics/statistics.module
- Menu callback; presents the "referrer" page.
- statistics_top_visitors in modules/statistics/statistics.module
- Menu callback; presents the "top visitors" page.
- statistics_user_tracker in modules/statistics/statistics.module
- taxonomy_form_term in modules/taxonomy/taxonomy.module
- taxonomy_overview_terms in modules/taxonomy/taxonomy.module
- Display a tree of all the terms in a vocabulary, with options to edit each one.
- taxonomy_term_page in modules/taxonomy/taxonomy.module
- Menu callback; displays all nodes associated with a term.
- theme_forum_display in modules/forum/forum.module
- Format the forum body.
- tracker_track_user in modules/tracker/tracker.module
- Menu callback. Prints a listing of active nodes on the site.
- update_access_denied_page in ./update.php
- update_do_update_page in ./update.php
- Perform updates for the JS version and return progress.
- update_finished_page in ./update.php
- update_info_page in ./update.php
- update_progress_page in ./update.php
- update_progress_page_nojs in ./update.php
- Perform updates for the non-JS version and return the status page.
- update_selection_page in ./update.php
- user_edit in modules/user/user.module
- user_view in modules/user/user.module
Code
includes/path.inc, line 187
<?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 