Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PageAttachmentsHook.php

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);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal