function drush_set_engine

8.0.x drush_set_engine($type, $instance)
6.x drush_set_engine($type, $instance)
7.x drush_set_engine($type, $instance)
master drush_set_engine($type, $instance)

Called by the Drush command (to cache the active engine instance.

See also


2 calls to drush_set_engine()
drush_load_command_engine in includes/
Selects and loads an engine implementing the given type.
drush_load_engine in includes/
Loads and validate an engine of the given type.


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


function drush_set_engine($type, $instance) {
  drush_set_context($type . '_engine', $instance);