Problem/Motivation
Since #3124762: Add 'lifecycle' key to .info.yml files it has been impossible to enable modules with lifecycle: obsolete in their info.yml file.
Entity reference module is one such module.
However it also has a hook_requirements that prevents it from being installed.
This is now redundant
Proposed resolution
Remove that code
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3225947-4.patch | 1.91 KB | larowlan |
| #4 | interdiff-e5e7f1.txt | 1.11 KB | larowlan |
| #2 | 3225947.patch | 817 bytes | larowlan |
Comments
Comment #2
larowlanComment #3
longwaveI tested this with Drush just in case. Before the patch:
After:
So the end result is the same if the DX is slightly different, but I don't think that matters - this code is obsolete, much like the module :)
However, should we do the same treatment in simpletest.install?
Comment #4
larowlanAgree
Comment #5
larowlanComment #6
longwaveLGTM
Comment #8
catchNice to see the boilerplate removed.
Committed/pushed to 9.3.x, thanks!