Postponed (maintainer needs more info)
Project:
UI Skins
Version:
1.1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Aug 2024 at 20:04 UTC
Updated:
17 Apr 2025 at 08:23 UTC
Jump to comment: Most recent
Comments
Comment #3
rpayanmPlease review.
Comment #4
grimreaperHi,
I am ok with the change and the feature request.
Code quality tools needs to be fixed before merging.
Comment #5
grimreaperComment #6
grimreaperPlease give more details of what is your usage.
PageTop->alter() is just an OOP wrapper around hook before Core had the ability to declare hooks in classes with PHP attribute. So its signature should match the hook one. It is not intended to be reused anywhere in the code.
What can be done is part of PageTop->alter() could be extracted in a service or put directly into the UiSkinsUtility class.
Comment #7
grimreaper