You are here

function js_displace_preprocess_html in Drupal 10

Implements hook_preprocess_html().

File

core/modules/system/tests/modules/js_displace/js_displace.module, line 11
Functions to support testing Drupal.displace() JavaScript API.

Code

function js_displace_preprocess_html(&$variables) {
  $variables['#attached']['library'][] = 'core/drupal.displace';
}