Problem/Motivation
See discussion at #2869592-41: Disabled update module shouldn't produce a status report warning for a description of some of the problems of the current way this module is implemented. However, since #309040: Add hook_requirements_alter() was committed to core (available in 9.5.0 and later), there's now a clean and simple way to achieve the desired effect here, use hook_requirements_alter().
Steps to reproduce
Proposed resolution
Create a 2.0.x branch with the whole new (much simplified) way to silence the warning about not having core's update.module installed using hook_requirements_alter()
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork update_notifications_disable-3523667
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
dwwMR open for a new 2.0.x branch.
Wonder if I should just move this into a whole new contrib project called
update_hide_uninstalled_warningor something, instead.Comment #4
dwwSee also #3523761: Add dww as a co-maintainer for the 2.0.x branch
Comment #5
japerryMade you a co-maintainer. Love the idea of doing a 2.x branch for that part. The 1.x can be legacy, and with 9.5 already supported in 2.x (looking at the MR), we can probably drop 1.x after a few months.
Comment #6
dwwCool, thanks!
Merged this into a new 2.0.x branch.
Cut a 2.0.x-dev release.
Tagged 2.0.0-rc1.
Calling this fixed.