Problem/Motivation
The CSS Asset collector parses the theme's info file direct.
This bypasses hook_system_info_alter.
Steps to reproduce
Use hook_system_info_alter in a module to add entity_print info to a theme.
Note that it is ignored.
Proposed resolution
Use the theme extension list instead.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | 3238429-5.patch | 7.24 KB | larowlan |
| #13 | 3238429-interdiff-5.txt | 1.43 KB | larowlan |
| #11 | 3238429-4.patch | 7.33 KB | larowlan |
| #11 | 3238429-interdiff-4.txt | 620 bytes | larowlan |
| #8 | 3238429-3.patch | 7.33 KB | larowlan |
Comments
Comment #2
larowlanComment #4
mstrelan commentedPatch looks ok to me once the tests are passing. Would be good to see a test-only patch where you implement
entity_print_test_system_info_alter()without changing the constructor.Comment #5
larowlanShould be red/green
Comment #8
larowlanStray tab in services.yml 🤦♂️
Comment #10
dpiI noticed the test was changed significantly, do the changes mean we still cant do it in the infofile in addition to alter? If so this would be major version change as its feature removal.
I dont have a dog in this fight.
Comment #11
larowlancoding standards
Comment #12
larowlanI'll wind back some of the test changes so there's coverage for both types
Comment #13
larowlanWinds back the test change to keep coverage for both info and alter
Comment #14
larowlan