You are here

function page_title_set_title in Page Title 8.2

Same name and namespace in other branches
  1. 5.2 page_title.module \page_title_set_title()
  2. 5 page_title.module \page_title_set_title()
  3. 6.2 page_title.module \page_title_set_title()
  4. 7.2 page_title.module \page_title_set_title()
  5. 7 page_title.module \page_title_set_title()

Legacy page title setting function... NOTE: This has been deprecated in favour of hook_page_title_alter().

1 call to page_title_set_title()
page_title_page_title_alter in modules/page_title.page_title.inc
Implements hook_page_title_alter().

File

./page_title.module, line 577
Enhanced control over the page title (in the head tag).

Code

function page_title_set_title($title = NULL) {
  $stored_title =& drupal_static(__FUNCTION__);
  if (isset($title)) {
    $stored_title = $title;
  }
  return $stored_title;
}