I want to execute some code in my custom module to display status reports even though my custom module is disabled.
hook_requirements()
can be used to display status reports, but it only works when the module is enabled. I want this to work even when the module is disabled.
How can I achieve this?