You are here

function seven_preprocess_maintenance_page in Drupal 9

Same name and namespace in other branches
  1. 8 core/themes/seven/seven.theme \seven_preprocess_maintenance_page()
  2. 7 themes/seven/template.php \seven_preprocess_maintenance_page()

Implements hook_preprocess_maintenance_page().

File

core/themes/seven/seven.theme, line 147
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';
}