function seven_preprocess_maintenance_page in Drupal 8
Same name and namespace in other branches
- 7 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 - Functions to support theming in the Seven theme.
Code
function seven_preprocess_maintenance_page(&$variables) {
// Seven has custom styling for the maintenance page.
$variables['#attached']['library'][] = 'seven/maintenance-page';
}