function js_displace_preprocess_html
Same name in other branches
- 11.x core/modules/system/tests/modules/js_displace/js_displace.module \js_displace_preprocess_html()
Implements hook_preprocess_html().
File
-
core/
modules/ system/ tests/ modules/ js_displace/ js_displace.module, line 11
Code
function js_displace_preprocess_html(&$variables) {
$variables['#attached']['library'][] = 'core/drupal.displace';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.