function drush_get_engine

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

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

1 call to drush_get_engine()

File

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

Code

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