You are here

function vartheme_admin_preprocess_maintenance_page in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 7.3

Override or insert variables into the maintenance page template.

File

themes/vartheme_admin/template.php, line 11
This file contains the main theme functions hooks and overrides.

Code

function vartheme_admin_preprocess_maintenance_page(&$vars, $hook) {

  // While markup for normal pages is split into page.tpl.php and html.tpl.php,
  // the markup for the maintenance page is all in the single
  // maintenance-page.tpl.php template. So, to have what's done in
  // adminimal_preprocess_html() also happen on the maintenance page, it has to be
  // called here.
  vartheme_admin_preprocess_html($vars, $hook);
}