function drush_load_command_engines

8.0.x drush_load_command_engines($command)
6.x drush_load_command_engines($command)
7.x drush_load_command_engines($command)
master drush_load_command_engines($command)

Include, instantiate and validate command engines.

Return value

FALSE if a engine doesn't validate.

1 call to drush_load_command_engines()
drush_dispatch in includes/
Given a command record, dispatch it as if it were the original command. Executes in the currently bootstrapped site using the current option contexts. Note that drush_dispatch will not bootstrap any further than the current command has already…


includes/, line 139
The drush engines API implementation and helpers.


function drush_load_command_engines($command) {
  $result = TRUE;
  foreach ($command['engines'] as $engine_type => $config) {
    $result = drush_load_command_engine($command, $engine_type);
    // Stop loading engines if any of them fails.
    if ($result === FALSE) {
  return $result;