function claro_preprocess_maintenance_page

Same name in other branches
  1. 8.9.x core/themes/claro/claro.theme \claro_preprocess_maintenance_page()
  2. 10 core/themes/claro/claro.theme \claro_preprocess_maintenance_page()
  3. 11.x core/themes/claro/claro.theme \claro_preprocess_maintenance_page()

Implements hook_preprocess_maintenance_page().

File

core/themes/claro/claro.theme, line 324

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.