function claro_preprocess_maintenance_page in Drupal 10
Same name and namespace in other branches
- 8 core/themes/claro/claro.theme \claro_preprocess_maintenance_page()
- 9 core/themes/claro/claro.theme \claro_preprocess_maintenance_page()
Implements hook_preprocess_maintenance_page().
File
- core/
themes/ claro/ claro.theme, line 324 - Functions to support theming in the Claro theme.
Code
function claro_preprocess_maintenance_page(&$variables) {
// Claro has custom styling for the maintenance page.
$variables['#attached']['library'][] = 'claro/maintenance-page';
}