class JsDisplaceThemeHooks
Theme hook implementations for js_displace module.
Hierarchy
- class \Drupal\js_displace\Hook\JsDisplaceThemeHooks
Expanded class hierarchy of JsDisplaceThemeHooks
File
-
core/
modules/ system/ tests/ modules/ js_displace/ src/ Hook/ JsDisplaceThemeHooks.php, line 12
Namespace
Drupal\js_displace\HookView source
class JsDisplaceThemeHooks {
/**
* Implements hook_preprocess_HOOK().
*/
public function preprocessHtml(&$variables) : void {
$variables['#attached']['library'][] = 'core/drupal.displace';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
JsDisplaceThemeHooks::preprocessHtml | public | function | Implements hook_preprocess_HOOK(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.