function claro_preprocess_maintenance_page
Same name in other branches
- 9 core/themes/claro/claro.theme \claro_preprocess_maintenance_page()
- 10 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 316
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.