function ClaroHooks::preprocessInstallPage

Same name and namespace in other branches
  1. main core/themes/claro/src/Hook/ClaroHooks.php \Drupal\claro\Hook\ClaroHooks::preprocessInstallPage()

Implements hook_preprocess_install_page().

Attributes

#[Hook('preprocess_install_page')]

File

core/themes/claro/src/Hook/ClaroHooks.php, line 316

Class

ClaroHooks
Hook implementations for claro.

Namespace

Drupal\claro\Hook

Code

public function preprocessInstallPage(&$variables) : void {
  // Claro has custom styling for the install page.
  $variables['#attached']['library'][] = 'claro/install-page';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.