Explore a way to replace hook_page_bottom() with hook_page_attachments()

Created on 15 December 2021, over 3 years ago
Updated 29 May 2024, about 1 year ago

Problem/Motivation

Core allows to control order of loaded files but the module using hook_page_bottom() to attach assets.
So modules like advagg can't deal with the module's assets

Proposed resolution

Looking at google ananytics code it using hook_page_attachments() so probably hook could be changed

Remaining tasks

- research replacement and figure out effect in page speed/lighthouse
- patch with fix or document why the current hook is used

User interface changes

no

API changes

no

Data model changes

no

💬 Support request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇫🇷France andypost

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.71.5 2024