You are here

function page_title_init in Page Title 6.2

Same name and namespace in other branches
  1. 8.2 page_title.module \page_title_init()
  2. 7.2 page_title.module \page_title_init()

Implementation of hook_init().

File

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

Code

function page_title_init() {

  // Include the admin CSS for the report page - TODO: Is there a better way?
  if (arg(0) == 'admin' && arg(1) == 'reports' && arg(2) == 'page-title') {
    drupal_add_css(drupal_get_path('module', 'page_title') . '/page_title.admin.css');
  }
  page_title_include_api_files();
}