You are here

function page_title_set_title in Page Title 6.2

Same name and namespace in other branches
  1. 8.2 page_title.module \page_title_set_title()
  2. 5.2 page_title.module \page_title_set_title()
  3. 5 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
Implementation of hook_page_title_alter().

File

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

Code

function page_title_set_title($title = NULL) {
  static $stored_title;
  if (isset($title)) {
    $stored_title = $title;
  }
  return $stored_title;
}