[upstream] html_response.attachments_processor service must be replaced instead of decorated

Created on 21 November 2019, over 4 years ago
Updated 22 May 2024, about 1 month ago

Currently \Drupal\attachinline\Render\HtmlResponseAttachmentsProcessor must replace the core html_response.attachments_processor service, rather than just decorating it like other services are able to.

This is necessary because

  • The list of supported keys in #attached is hard-coded
  • A static call to \Drupal\Core\Asset\AttachedAssets::createFromRenderArray()
πŸ“Œ Task
Status

Postponed

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada gapple

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024