function PreprocessHooks::installPage
Same name and namespace in other branches
- 11.x core/themes/admin/src/Hook/PreprocessHooks.php \Drupal\admin\Hook\PreprocessHooks::installPage()
Implements hook_preprocess_install_page().
Attributes
#[Hook('preprocess_install_page')]
File
-
core/
themes/ admin/ src/ Hook/ PreprocessHooks.php, line 730
Class
- PreprocessHooks
- Provides preprocess implementations.
Namespace
Drupal\admin\HookCode
public function installPage(array &$variables) : void {
// Admin has custom styling for the install page.
$variables['#attached']['library'][] = 'admin/install-page';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.