function olivero_test_preprocess_html

Same name in other branches
  1. 10 core/modules/system/tests/modules/olivero_test/olivero_test.module \olivero_test_preprocess_html()
  2. 11.x core/modules/system/tests/modules/olivero_test/olivero_test.module \olivero_test_preprocess_html()

Implements hook_preprocess_html().

File

core/modules/system/tests/modules/olivero_test/olivero_test.module, line 40

Code

function olivero_test_preprocess_html(&$variables) {
    $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.