function seven_preprocess_maintenance_page
Same name in other branches
- 7.x themes/seven/template.php \seven_preprocess_maintenance_page()
- 9 core/themes/seven/seven.theme \seven_preprocess_maintenance_page()
Implements hook_preprocess_maintenance_page().
File
-
core/
themes/ seven/ seven.theme, line 146
Code
function seven_preprocess_maintenance_page(&$variables) {
// Seven has custom styling for the maintenance page.
$variables['#attached']['library'][] = 'seven/maintenance-page';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.