function title_override_preprocess_page in Title Override 7.2
Implements hook_preprocess_page().
File
- ./
title_override.module, line 100 - Primary hook implementations for Title Override.
Code
function title_override_preprocess_page(&$vars) {
$title = drupal_static('title_override');
if (isset($title)) {
drupal_set_title(token_replace($title));
unset($vars['title']);
}
}