function seven_preprocess_maintenance_page in Drupal 7
Same name and namespace in other branches
- 8 core/themes/seven/seven.theme \seven_preprocess_maintenance_page()
- 9 core/themes/seven/seven.theme \seven_preprocess_maintenance_page()
Override or insert variables into the maintenance page template.
File
- themes/
seven/ template.php, line 6
Code
function seven_preprocess_maintenance_page(&$vars) {
// 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
// seven_preprocess_html() also happen on the maintenance page, it has to be
// called here.
seven_preprocess_html($vars);
}