function pathauto_requirements in Pathauto 7
Implements hook_requirements().
File
- ./
pathauto.install, line 84 - Install, update, and uninstall functions for Pathauto.
Code
function pathauto_requirements($phase) {
$requirements = array();
$t = get_t();
if ($phase == 'runtime' && module_exists('pathauto_persist')) {
$requirements['pathauto'] = array(
'title' => $t('Pathauto Persist'),
'value' => $t('Enabled'),
'description' => $t('Pathauto Persist is installed and enabled. As Pathauto Persist has been merged into Pathauto, the Pathauto Persist module can be safely disabled and removed. All Pathauto Persist settings have been migrated to the Pathauto implementation.'),
'severity' => REQUIREMENT_INFO,
);
}
return $requirements;
}