You are here

function _phptemplate_variables in Page Title 5

Same name and namespace in other branches
  1. 5.2 template.php \_phptemplate_variables()
  2. 6 template.php \_phptemplate_variables()

File

./template.php, line 3

Code

function _phptemplate_variables($hook, $vars) {
  $vars = array();
  if ($hook == 'page') {
    if (module_exists('page_title')) {
      $vars['head_title'] = page_title_page_get_title();
    }
  }
  return $vars;
}