Convert remaining two system hooks to OOP

Created on 16 November 2024, 5 days ago

Problem/Motivation

A few low level systems rely on direct calls to system_theme and system_page_attachments.

Steps to reproduce

Move those hooks entirely
See things break in spectacular ways

Proposed resolution

Move _system_page_attachments to core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php
Call that helper from SystemHooks::pageAttachments

Create helper for system theme
Find where that is needed and replicate the above

Remaining tasks

TBD

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

base system

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024