function PageAttachmentsHook::pageAttachments

Implements hook_page_attachments().

See also

template_preprocess_maintenance_page()

\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\Hook

Code

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.