function drupal_set_title

cis7 drupal_set_title($title = NULL, $output = CHECK_PLAIN)
cle7 drupal_set_title($title = NULL, $output = CHECK_PLAIN)
elmsmedia7 drupal_set_title($title = NULL, $output = CHECK_PLAIN)
icor7 drupal_set_title($title = NULL, $output = CHECK_PLAIN)
meedjum_blog7 drupal_set_title($title = NULL, $output = CHECK_PLAIN)
mooc7 drupal_set_title($title = NULL, $output = CHECK_PLAIN)

Sets the title of the current page.

The title is displayed on the page and in the title bar.


$title: Optional string value to assign to the page title; or if set to NULL (default), leaves the current title unchanged.

$output: Optional flag - normally should be left as CHECK_PLAIN. Only set to PASS_THROUGH if you have already removed any possibly dangerous code from $title using a function like check_plain() or filter_xss(). With this flag the string will be passed through unchanged.

Return value

The updated title of the current page.

130 calls to drupal_set_title()
adaptivetheme_preprocess_page in sites/all/themes/ulmus/adaptivetheme/at_core/inc/
Preprocess variables for page.tpl.php
advagg_admin_info_form in sites/all/modules/ulmus/advagg/
Form builder; Show info about advagg and advagg settings.
advagg_admin_operations_form in sites/all/modules/ulmus/advagg/
Form builder; Do advagg operations.
advagg_admin_settings_form in sites/all/modules/ulmus/advagg/
Form builder; Configure advagg settings.
advagg_bundler_admin_settings_form in sites/all/modules/ulmus/advagg/advagg_bundler/
Form builder; Configure advagg settings.

... See full list


includes/, line 1876
Functions that need to be loaded on every Drupal request.


function drupal_set_title($title = NULL, $output = CHECK_PLAIN) {
  $stored_title = &drupal_static(__FUNCTION__);

  if (isset($title)) {
    $stored_title = ($output == PASS_THROUGH) ? $title : check_plain($title);

  return $stored_title;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.