Open Cellane opened 14 years ago
hook_requirements are not limited to install, there is runtime too. Can you check that you don't see a big status error if you are missing echove during runtime?
Hm. I disabled Brightcove module, renamed echove.php
to echoveabc.php
, then re-enabled Brightcove. This was completed without any error message. The only error message appears on /admin
page, displaying "One or more problems were detected with your Drupal installation. Check the status report for more information." message.
I think presence of Echove should be checked when administrator chooses to enable previously installed and later disabled Brightcove module, if that's possible.
I am not sure if this is possible. Probably yes using hook_enable, postponing for now
It seems that
hook_requirements()
checks whether Echove is installed or not only during first installation, but not after Brightcove module is disabled and re-enabled.