function PageAttachmentsHook::__construct
Same name and namespace in other branches
- 11.x core/modules/system/src/Hook/PageAttachmentsHook.php \Drupal\system\Hook\PageAttachmentsHook::__construct()
File
-
core/
modules/ system/ src/ Hook/ PageAttachmentsHook.php, line 15
Class
- PageAttachmentsHook
- Implements hook_page_attachments() for the system module.
Namespace
Drupal\system\HookCode
public function __construct(private readonly BareHtmlPageRendererInterface $bareHtmlPageRenderer) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.