function OliveroTestThemeHooks::preprocessHtml

Implements hook_preprocess_html().

Attributes

#[Hook('preprocess_html')]

File

core/modules/system/tests/modules/olivero_test/src/Hook/OliveroTestThemeHooks.php, line 28

Class

OliveroTestThemeHooks
Hook implementations for olivero_test.

Namespace

Drupal\olivero_test\Hook

Code

public function preprocessHtml(&$variables) : void {
  $variables['#attached']['library'][] = 'olivero_test/log-errors';
}

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