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