function _drush_find_commandfiles
8.0.x command.inc | _drush_find_commandfiles($phase, $phase_max = FALSE) |
6.x command.inc | _drush_find_commandfiles($phase, $phase_max = FALSE) |
7.x command.inc | _drush_find_commandfiles($phase, |
3.x command.inc | _drush_find_commandfiles($phase) |
4.x command.inc | _drush_find_commandfiles($phase, $phase_max = FALSE) |
5.x command.inc | _drush_find_commandfiles($phase, $phase_max = FALSE) |
master command.inc | _drush_find_commandfiles($phase, $phase_max = FALSE) |
2 calls to _drush_find_commandfiles()
- DrupalBoot::drush_command_belongs_to_disabled_module in lib/
Drush/ Boot/ DrupalBoot.php - Check if the given command belongs to a disabled module.
- drush_bootstrap in includes/
bootstrap.inc - Bootstrap Drush to the desired phase.
File
- includes/
command.inc, line 1492 - The drush command engine.
Code
function _drush_find_commandfiles($phase, $phase_max = FALSE) {
drush_log(dt("Find command files for phase !phase (max=!max)", array('!phase' => $phase, '!max' => (string) $phase_max)), LogLevel::DEBUG);
if ($bootstrap = drush_get_bootstrap_object()) {
$searchpath = $bootstrap->commandfile_searchpaths($phase, $phase_max);
_drush_add_commandfiles($searchpath, $phase);
}
}