function PageAttachmentsHook::pageAttachments
Same name and namespace in other branches
- 11.x core/modules/system/src/Hook/PageAttachmentsHook.php \Drupal\system\Hook\PageAttachmentsHook::pageAttachments()
Implements hook_page_attachments().
Attributes
#[Hook('page_attachments')]
See also
\Drupal\Core\Theme\ThemePreprocess::preprocessMaintenancePage()
\Drupal\Core\EventSubscriber\ActiveLinkResponseFilter
File
-
core/
modules/ system/ src/ Hook/ PageAttachmentsHook.php, line 25
Class
- PageAttachmentsHook
- Implements hook_page_attachments() for the system module.
Namespace
Drupal\system\HookCode
public function pageAttachments(array &$page) : void {
$this->bareHtmlPageRenderer
->systemPageAttachments($page);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.