function unused_modules_drush_command_alter in Unused Modules 7
Same name and namespace in other branches
- 8 unused_modules.drush.inc \unused_modules_drush_command_alter()
Implements hook_drush_command_alter().
File
- ./
unused_modules.drush.inc, line 190 - Unused Modules Drush support.
Code
function unused_modules_drush_command_alter(&$command) {
if ($command['command'] == 'audit_extensions') {
$command['checks'][] = array(
'name' => 'Unused',
'location' => __DIR__ . '/unused_modules.site_audit.inc',
);
}
}