function automatic_updates_requirements in Automatic Updates 7
Same name and namespace in other branches
- 8.2 automatic_updates.install \automatic_updates_requirements()
- 8 automatic_updates.install \automatic_updates_requirements()
Implements hook_requirements().
File
- ./
automatic_updates.install, line 33 - Install, update and uninstall functions for the automatic_updates module.
Code
function automatic_updates_requirements($phase) {
if ($phase !== 'runtime') {
return NULL;
}
$requirements = array();
_automatic_updates_checker_requirements($requirements);
_automatic_updates_psa_requirements($requirements);
return $requirements;
}