function drush_get_engine

8.0.x drush_get_engine($type)
6.x drush_get_engine($type)
7.x drush_get_engine($type)
master drush_get_engine($type)

Return the engine of the specified type that was loaded by the Drush command.

14 calls to drush_get_engine()
drush_get_outputformat in commands/core/
drush_make_process in commands/make/
Drush callback: hidden file to process an individual project.
drush_make_update in commands/make/
Command callback for make-update.
drush_pm_download in commands/pm/
Command callback. Download Drupal core or any project.
drush_pm_enable_find_project_from_extension in commands/pm/
Helper function for pm-enable.

... See full list


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


function drush_get_engine($type) {
  return drush_get_context($type . '_engine', FALSE);