function hacked_load_drush_dependencies in Hacked! 7.2
Allow Hacked! to be used without enabling the module.
5 calls to hacked_load_drush_dependencies()
- drush_hacked_drush_command_validate in ./
hacked.drush.inc - Generic validator for hacked drush commands.
- drush_hacked_list_projects in ./
hacked.drush.inc - Command callback for drush hacked_list_projects.
- hacked_build_report_batch in ./
hacked.report.inc - Batch callback to build the hacked report.
- hacked_build_report_batch_drush in ./
hacked.drush.inc - Batch callback to build the hacked report.
- hacked_calculate_project_data_drush in ./
hacked.drush.inc - Compute the report data for hacked.
1 string reference to 'hacked_load_drush_dependencies'
File
- ./
hacked.drush.inc, line 14
Code
function hacked_load_drush_dependencies() {
if (!module_exists('hacked')) {
drush_log(dt('Loading Hacked! dependencies.'));
require_once __DIR__ . '/hacked.module';
require_once __DIR__ . '/includes/hackedFileGroup.inc';
require_once __DIR__ . '/includes/hackedFileHasher.inc';
require_once __DIR__ . '/includes/hackedFileIgnoreEndingsHasher.inc';
require_once __DIR__ . '/includes/hackedFileIncludeEndingsHasher.inc';
require_once __DIR__ . '/includes/hackedProject.inc';
require_once __DIR__ . '/includes/hackedProjectWebDownloader.inc';
require_once __DIR__ . '/includes/hackedProjectWebDevDownloader.inc';
require_once __DIR__ . '/includes/hackedProjectWebCVSDownloader.inc';
require_once __DIR__ . '/includes/hackedProjectWebFilesDownloader.inc';
require_once __DIR__ . '/hacked.report.inc';
}
}