function seven_preprocess_maintenance_page
Same name in other branches
- 9 core/themes/seven/seven.theme \seven_preprocess_maintenance_page()
- 8.9.x 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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.