Drush: includes/engines.inc File Reference

  1. 7.x doxygen/html/engines_8inc.html
  2. master doxygen/html/engines_8inc.html
engines.inc File Reference

Go to the source code of this file.

Functions

 drush_get_engine_types_info ()
 drush_get_engines ($engine_type)
 drush_get_engine_topics ()
 drush_load_command_engines ($command)
 drush_get_command_engine_config ($command, $engine_type, $metadata=array())
 drush_load_command_engine ($command, $engine_type, $metadata=array())
 drush_merge_engine_data (&$command)
 drush_engine_topic_command ($engine)
 drush_get_user_selected_engine (&$config, $engine_info)
 drush_find_engine_to_use (&$config, $engine_info, $selected_engine=NULL)
 drush_load_engine ($type, $engine, $version=NULL, $path=NULL, $engine_config=NULL)
 drush_include_engine ($type, $selected_engine, $version=NULL, $path=NULL, $engine_config=NULL)
 drush_get_engine ($type)
 drush_set_engine ($type, $instance)
 drush_engine_add_help_topics (&$command)

Detailed Description

The drush engines API implementation and helpers.

Definition in file engines.inc.

Function Documentation

drush_engine_add_help_topics ( $command)

Add engine topics to the command topics, if any.

Definition at line 521 of file engines.inc.

References drush_get_engine_types_info().

Here is the call graph for this function:

drush_engine_topic_command (   $engine)

Implementation of command hook for docs-output-formats

Definition at line 326 of file engines.inc.

References drush_command_invoke_all(), drush_get_context(), drush_get_engines(), drush_html_to_text(), drush_is_absolute_path(), drush_print_file(), drush_save_data_to_temp_file(), drush_set_error(), and dt().

Here is the call graph for this function:

drush_find_engine_to_use ( $config,
  $engine_info,
  $selected_engine = NULL 
)

Returns a valid engine to use.

If no preference is passed in $selected_engine, it will pick the 'default' engine provided within the command config.

$config is altered to add the engine info to $config['engine-info'].

See Also
drush_get_user_selected_engine().

#TODO# clarify naming of functions and entrance point.

Definition at line 407 of file engines.inc.

Referenced by drush_load_engine(), and drush_merge_engine_data().

Here is the caller graph for this function:

drush_get_command_engine_config (   $command,
  $engine_type,
  $metadata = array() 
)

Returns engine config supplied in the command definition.

Definition at line 134 of file engines.inc.

Referenced by drush_get_command_format_metadata(), and drush_load_command_engine().

Here is the caller graph for this function:

drush_get_engine (   $type)

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

Definition at line 506 of file engines.inc.

References drush_get_context().

Referenced by drush_get_outputformat().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_get_engine_topics ( )

Take a look at all of the available engines, and create topic commands for each one that declares a topic.

Definition at line 96 of file engines.inc.

References DRUSH_BOOTSTRAP_DRUSH, and drush_get_engine_types_info().

Referenced by core_drush_command().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_get_engine_types_info ( )

Obtain all engine types info and normalize with defaults.

See Also
hook_drush_engine_type_info().

Definition at line 13 of file engines.inc.

References drush_command_invoke_all().

Referenced by drush_engine_add_help_topics(), drush_get_engine_topics(), drush_get_engines(), and drush_merge_engine_data().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_get_engines (   $engine_type)

Return a structured array of engines of a specific type.

Engines are pluggable subsystems. Each engine of a specific type will implement the same set of API functions and perform the same high-level task using a different backend or approach.

This function/hook is useful when you have a selection of several mutually exclusive options to present to a user to select from.

Other commands are able to extend this list and provide their own engines. The hook can return useful information to help users decide which engine they need, such as description or list of available engine options.

The engine path element will automatically default to a subdirectory (within the directory of the commandfile that implemented the hook) with the name of the type of engine - e.g. an engine "wget" of type "handler" provided by the "pm" commandfile would automatically be found if the file "pm/handler/wget.inc" exists and a specific path is not provided.

Parameters
$engine_typeThe type of engine.
Returns
A structured array of engines.

Definition at line 57 of file engines.inc.

References drush_command_hook(), drush_commandfile_list(), drush_get_engine_types_info(), drush_set_error(), and dt().

Referenced by drush_engine_topic_command(), drush_include_engine(), drush_load_command_engine(), drush_load_engine(), drush_merge_engine_data(), drush_pm_include_version_control(), and drush_version_control_reserved_files().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_get_user_selected_engine ( $config,
  $engine_info 
)

Obtains the engine to use.

Precedence:

  • user supplied engine via cli.
  • default engine configured for the command.
  • the first engine of all available.
See Also
drush_find_engine_to_use().

#TODO# clarify naming of functions and entrance point.

Definition at line 382 of file engines.inc.

References drush_get_option().

Referenced by drush_load_command_engine().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_include_engine (   $type,
  $selected_engine,
  $version = NULL,
  $path = NULL,
  $engine_config = NULL 
)

Include the engine code for a specific named engine of a certain type.

If the engine type has implemented hook_drush_engine_$type the path to the engine specified in the array will be used.

If a class named in the form drush_$type_$engine exists, it will be an object of that class will be created and returned.

If you don't need to present any user options for selecting the engine (which is common if the selection is implied by the running environment) and you don't need to allow other modules to define their own engines you can simply pass the $path to the directory where the engines are, and the appropriate one will be included.

Unlike drush_include this function will set errors if the requested engine cannot be found.

Parameters
$typeThe type of engine.
$engineThe key for the engine to be included.
$versionThe version of the engine to be included - defaults to the current Drupal core major version.
$pathA path to include from, if the engine has no corresponding hook_drush_engine_$type item path.
Returns
TRUE or instanced object of available class on success. FALSE on fail.

Definition at line 479 of file engines.inc.

References drush_get_engines(), drush_include(), drush_set_error(), and dt().

Referenced by _drush_bootstrap_drupal_full(), drush_archive_dump(), drush_backend_batch_process(), drush_batch_command(), drush_core_requirements(), drush_core_updatedb(), drush_core_updatedb_batch_process(), drush_core_updatedb_status(), drush_extension_get_name(), drush_extension_get_path(), drush_extension_get_type(), drush_file_get_private(), drush_file_get_public(), drush_get_extensions(), drush_get_projects(), drush_hook_pre_pm_enable(), drush_load_engine(), drush_pm_disable(), drush_pm_enable(), drush_pm_find_project_from_extension(), drush_pm_include_version_control(), drush_pm_uninstall(), drush_theme_get_admin(), drush_theme_get_default(), drush_version_control_reserved_files(), image_image_flush_complete(), package_handler_validate(), system_watchdog(), test_test_run_complete(), Unish\releaseInfoCase\testReleaseXML(), and update_check_incompatibility().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_load_command_engine (   $command,
  $engine_type,
  $metadata = array() 
)

Selects and loads an engine implementing the given type.

Loaded engines are stored as a context.

Definition at line 146 of file engines.inc.

References drush_drupal_major_version(), drush_get_command_engine_config(), drush_get_context(), drush_get_engines(), drush_get_user_selected_engine(), drush_load_engine(), drush_log(), drush_set_context(), drush_set_engine(), and dt().

Referenced by drush_load_command_engines(), and drush_set_default_outputformat().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_load_command_engines (   $command)

Include, instantiate and validate command engines.

Returns
FALSE if a engine doesn't validate.

Definition at line 119 of file engines.inc.

References drush_load_command_engine().

Referenced by drush_dispatch().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_load_engine (   $type,
  $engine,
  $version = NULL,
  $path = NULL,
  $engine_config = NULL 
)

Loads and validate an engine of the given type.

Definition at line 420 of file engines.inc.

References drush_find_engine_to_use(), drush_get_engines(), drush_include_engine(), drush_module_exists(), drush_set_engine(), drush_set_error(), and dt().

Referenced by drush_format(), drush_handle_command_output(), drush_load_command_engine(), and drush_preflight_command_dispatch().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_merge_engine_data ( $command)

Add command structure info from each engine type back into the command.

Definition at line 173 of file engines.inc.

References drush_find_engine_to_use(), drush_get_context(), drush_get_engine_types_info(), drush_get_engines(), and dt().

Referenced by drush_get_commands().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_set_engine (   $type,
  $instance 
)

Called by the Drush command (

See Also
_drush_load_command_engines()) to cache the active engine instance.

Definition at line 514 of file engines.inc.

References drush_set_context().

Referenced by drush_load_command_engine(), and drush_load_engine().

Here is the call graph for this function:

Here is the caller graph for this function:

File

doxygen/html/engines_8inc.html
View source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Drush: includes/engines.inc File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Drush
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_09e761304027c904456130627fd4dcf5.html">includes</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">engines.inc File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="engines_8inc_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a50374de188af3d1cb754476607b9c375"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375">drush_get_engine_types_info</a> ()</td></tr>
<tr class="memitem:ae94a82d80d5e90cb126de1f16a7f8fe4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4">drush_get_engines</a> ($engine_type)</td></tr>
<tr class="memitem:ad7c7ef01f88180e6010e2d2cbb24b347"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#ad7c7ef01f88180e6010e2d2cbb24b347">drush_get_engine_topics</a> ()</td></tr>
<tr class="memitem:a04e206fccfe9fe74aacda617336f5b87"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87">drush_load_command_engines</a> ($command)</td></tr>
<tr class="memitem:a316fd3a909b19c6b88ce4ffc521756da"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#a316fd3a909b19c6b88ce4ffc521756da">drush_get_command_engine_config</a> ($command, $engine_type, $metadata=array())</td></tr>
<tr class="memitem:af4e4689479142932fa789c5e314d29e9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9">drush_load_command_engine</a> ($command, $engine_type, $metadata=array())</td></tr>
<tr class="memitem:a04ee0e7019029ef27bc4e8f14341b2b4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#a04ee0e7019029ef27bc4e8f14341b2b4">drush_merge_engine_data</a> (&amp;$command)</td></tr>
<tr class="memitem:a434593aa5eee4a2a9e6e51cdca8ccab5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#a434593aa5eee4a2a9e6e51cdca8ccab5">drush_engine_topic_command</a> ($engine)</td></tr>
<tr class="memitem:afc75f35fe69601eee5e1c11a303dbbd0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#afc75f35fe69601eee5e1c11a303dbbd0">drush_get_user_selected_engine</a> (&amp;$config, $engine_info)</td></tr>
<tr class="memitem:ac18b04b38c84979a32603cd5cef78c69"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#ac18b04b38c84979a32603cd5cef78c69">drush_find_engine_to_use</a> (&amp;$config, $engine_info, $selected_engine=NULL)</td></tr>
<tr class="memitem:af360562cce71af9828bbbb7326b1d7a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#af360562cce71af9828bbbb7326b1d7a8">drush_load_engine</a> ($type, $engine, $version=NULL, $path=NULL, $engine_config=NULL)</td></tr>
<tr class="memitem:a91df31f18b0a1d05540ccaf85e6d9a88"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#a91df31f18b0a1d05540ccaf85e6d9a88">drush_include_engine</a> ($type, $selected_engine, $version=NULL, $path=NULL, $engine_config=NULL)</td></tr>
<tr class="memitem:a34ff5c6bb43688e04d0647eddf48d553"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#a34ff5c6bb43688e04d0647eddf48d553">drush_get_engine</a> ($type)</td></tr>
<tr class="memitem:a1eb2ea4e50529f3c7953f419956ce51a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#a1eb2ea4e50529f3c7953f419956ce51a">drush_set_engine</a> ($type, $instance)</td></tr>
<tr class="memitem:a4f5313a2d79cd6fbcde3d30b361e306e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="engines_8inc.html#a4f5313a2d79cd6fbcde3d30b361e306e">drush_engine_add_help_topics</a> (&amp;$command)</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The drush engines API implementation and helpers. </p>

<p>Definition in file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>
</div><h2>Function Documentation</h2>
<a class="anchor" id="a4f5313a2d79cd6fbcde3d30b361e306e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_engine_add_help_topics </td>
          <td>(</td>
          <td class="paramtype">&amp;&#160;</td>
          <td class="paramname"><em>$command</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add engine topics to the command topics, if any. </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00521">521</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="engines_8inc_source.html#l00013">drush_get_engine_types_info()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a4f5313a2d79cd6fbcde3d30b361e306e_cgraph.png" border="0" usemap="#engines_8inc_a4f5313a2d79cd6fbcde3d30b361e306e_cgraph" alt=""/></div>
<map name="engines_8inc_a4f5313a2d79cd6fbcde3d30b361e306e_cgraph" id="engines_8inc_a4f5313a2d79cd6fbcde3d30b361e306e_cgraph">
<area shape="rect" id="node3" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="215,13,404,43"/><area shape="rect" id="node5" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="455,13,636,43"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a434593aa5eee4a2a9e6e51cdca8ccab5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_engine_topic_command </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$engine</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Implementation of command hook for docs-output-formats </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00326">326</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="includes_2command_8inc_source.html#l01251">drush_command_invoke_all()</a>, <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, <a class="el" href="engines_8inc_source.html#l00057">drush_get_engines()</a>, <a class="el" href="output_8inc_source.html#l00182">drush_html_to_text()</a>, <a class="el" href="filesystem_8inc_source.html#l00025">drush_is_absolute_path()</a>, <a class="el" href="output_8inc_source.html#l00668">drush_print_file()</a>, <a class="el" href="filesystem_8inc_source.html#l00401">drush_save_data_to_temp_file()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a434593aa5eee4a2a9e6e51cdca8ccab5_cgraph.png" border="0" usemap="#engines_8inc_a434593aa5eee4a2a9e6e51cdca8ccab5_cgraph" alt=""/></div>
<map name="engines_8inc_a434593aa5eee4a2a9e6e51cdca8ccab5_cgraph" id="engines_8inc_a434593aa5eee4a2a9e6e51cdca8ccab5_cgraph">
<area shape="rect" id="node3" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1313,147,1495,176"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1783,505,1911,535"/><area shape="rect" id="node7" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="859,93,989,123"/><area shape="rect" id="node12" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1112,349,1224,379"/><area shape="rect" id="node23" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1149,288,1187,317"/><area shape="rect" id="node37" href="group__outputfunctions.html#gaf5119cf7ab3248aac5314f1dcb3d4c75" title="drush_html_to_text" alt="" coords="405,1087,539,1116"/><area shape="rect" id="node39" href="group__filesystemfunctions.html#gafa80199035259ddf98fa300d6f646aa2" title="drush_is_absolute_path" alt="" coords="617,621,775,651"/><area shape="rect" id="node43" href="group__outputfunctions.html#ga8059aaf93da4ec3f4c5d3821928a9002" title="drush_print_file" alt="" coords="204,831,313,860"/><area shape="rect" id="node98" href="group__filesystemfunctions.html#gadb66635fa63012fb084f8e96a392776d" title="drush_save_data_to\l_temp_file" alt="" coords="189,421,328,467"/><area shape="rect" id="node9" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="1073,147,1263,176"/><area shape="rect" id="node32" href="includes_2command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="1325,68,1483,97"/><area shape="rect" id="node35" href="includes_2command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="1092,93,1244,123"/><area shape="rect" id="node16" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1545,453,1700,483"/><area shape="rect" id="node19" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1365,349,1443,379"/><area shape="rect" id="node25" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1337,279,1471,326"/><area shape="rect" id="node27" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1551,293,1695,323"/><area shape="rect" id="node29" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1749,293,1944,323"/><area shape="rect" id="node41" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1104,541,1232,571"/><area shape="rect" id="node46" href="group__filesystemfunctions.html#ga01729c5c432a2f30974966d888146d09" title="drush_tempnam" alt="" coords="415,493,529,523"/><area shape="rect" id="node67" href="group__outputfunctions.html#ga03664ee5326159c3f8e6c97aa93c7981" title="drush_print_pipe" alt="" coords="637,1036,755,1065"/><area shape="rect" id="node70" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="1125,809,1211,839"/><area shape="rect" id="node79" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6" title="drush_shell_exec_interactive" alt="" coords="377,831,567,860"/><area shape="rect" id="node48" href="group__filesystemfunctions.html#gad1036a8fb12d105b55de87b4f3fe8002" title="drush_find_tmp" alt="" coords="641,452,751,481"/><area shape="rect" id="node63" href="group__filesystemfunctions.html#ga7557e035207db8d2dbe475e6a52c579c" title="drush_register_file\l_for_deletion" alt="" coords="860,554,988,601"/><area shape="rect" id="node51" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="1361,505,1447,535"/><area shape="rect" id="node57" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="877,349,971,379"/><area shape="rect" id="node54" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1559,557,1687,587"/><area shape="rect" id="node72" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1344,819,1464,848"/><area shape="rect" id="node74" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1559,829,1687,859"/><area shape="rect" id="node76" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1548,883,1697,912"/><area shape="rect" id="node81" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="631,831,761,860"/><area shape="rect" id="node83" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="851,675,997,704"/><area shape="rect" id="node92" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="847,779,1001,808"/><area shape="rect" id="node96" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="825,883,1023,912"/><area shape="rect" id="node86" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="1091,663,1245,710"/><area shape="rect" id="node88" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="1091,594,1245,641"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac18b04b38c84979a32603cd5cef78c69"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_find_engine_to_use </td>
          <td>(</td>
          <td class="paramtype">&amp;&#160;</td>
          <td class="paramname"><em>$config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$engine_info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$selected_engine</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a valid engine to use.</p>
<p>If no preference is passed in $selected_engine, it will pick the 'default' engine provided within the command config.</p>
<p>$config is altered to add the engine info to $config['engine-info'].</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="engines_8inc.html#afc75f35fe69601eee5e1c11a303dbbd0">drush_get_user_selected_engine()</a>.</dd></dl>
<p>#TODO# clarify naming of functions and entrance point. </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00407">407</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>Referenced by <a class="el" href="engines_8inc_source.html#l00420">drush_load_engine()</a>, and <a class="el" href="engines_8inc_source.html#l00173">drush_merge_engine_data()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_ac18b04b38c84979a32603cd5cef78c69_icgraph.png" border="0" usemap="#engines_8inc_ac18b04b38c84979a32603cd5cef78c69_icgraph" alt=""/></div>
<map name="engines_8inc_ac18b04b38c84979a32603cd5cef78c69_icgraph" id="engines_8inc_ac18b04b38c84979a32603cd5cef78c69_icgraph">
<area shape="rect" id="node3" href="engines_8inc.html#af360562cce71af9828bbbb7326b1d7a8" title="drush_load_engine" alt="" coords="249,504,380,533"/><area shape="rect" id="node51" href="engines_8inc.html#a04ee0e7019029ef27bc4e8f14341b2b4" title="drush_merge_engine_data" alt="" coords="228,821,401,851"/><area shape="rect" id="node5" href="group__dispatching.html#gaec7e84c5668d8e13f33c948659112495" title="drush_handle_command\l_output" alt="" coords="451,426,613,473"/><area shape="rect" id="node11" href="group__commandprocessing.html#gac5fea44d3fe064240192925f864d57a6" title="drush_preflight_command\l_dispatch" alt="" coords="949,647,1120,694"/><area shape="rect" id="node15" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="457,495,607,542"/><area shape="rect" id="node33" href="group__outputfunctions.html#ga9949217d2df2776bd355c4a3d50bba79" title="drush_format" alt="" coords="483,244,581,273"/><area shape="rect" id="node7" href="group__dispatching.html#gac0d79cc522d6f5cecf9f72ecc5ecceb8" title="_drush_invoke_hooks" alt="" coords="699,443,845,472"/><area shape="rect" id="node9" href="group__dispatching.html#gae7a7f1f4b8c5edffbc2ececc6638698a" title="drush_command" alt="" coords="976,443,1093,472"/><area shape="rect" id="node13" href="drush_8php.html#a2b642d2bbf815b6d80c315fd66b37381" title="drush_main" alt="" coords="1223,656,1311,685"/><area shape="rect" id="node17" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="669,504,875,533"/><area shape="rect" id="node23" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87" title="drush_load_command\l_engines" alt="" coords="697,615,847,662"/><area shape="rect" id="node19" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="961,553,1108,599"/><area shape="rect" id="node21" href="views_8d8_8drush_8inc.html#aeb32a75a48c4c084de58193c6d8cfca2" title="drush_views_execute" alt="" coords="961,500,1108,529"/><area shape="rect" id="node25" href="group__dispatching.html#ga5db6ec7318291b3692bf905b87a9276b" title="drush_dispatch" alt="" coords="980,789,1089,819"/><area shape="rect" id="node27" href="topic_8drush_8inc.html#ae8a604f9b99910a82bc193b3d11490cc" title="drush_topic_core_topic" alt="" coords="1189,895,1344,924"/><area shape="rect" id="node29" href="group__dispatching.html#gad45b0ad6ccdc34ebb10d38d5c2d6a1d1" title="drush_invoke" alt="" coords="1217,789,1316,819"/><area shape="rect" id="node31" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="1396,981,1561,1011"/><area shape="rect" id="node35" href="field_8drush_8inc.html#a62c877acd4e998705c2c41a8c0b59830" title="_drush_field_info_process_cell" alt="" coords="672,213,872,243"/><area shape="rect" id="node37" href="outputformat_8drush_8inc.html#a5322ccb6b5616adf4bb2e959e42a214c" title="outputformat_drush\l_engine_topic_additional_text" alt="" coords="676,266,868,313"/><area shape="rect" id="node39" href="views_8d8_8drush_8inc.html#a5bef08605d0fc2679d2fcbc7a00aecc9" title="drush_views_analyze" alt="" coords="699,336,845,365"/><area shape="rect" id="node41" href="group__outputfunctions.html#ga9bc1481d5e22b78b7fa386ff2d88b3a2" title="drush_print_format" alt="" coords="707,389,837,419"/><area shape="rect" id="node43" href="group__outputfunctions.html#ga0305cbdc9e5419a9a3a93dad342eb499" title="drush_key_value_to\l_array_table" alt="" coords="703,5,841,51"/><area shape="rect" id="node47" href="group__outputfunctions.html#gae21dcb7f9594eefec94104dbe7cede09" title="drush_rows_of_key_value\l_to_array_table" alt="" coords="685,74,859,121"/><area shape="rect" id="node49" href="classUnish_1_1outputFormatUnitCase.html#a05a4cc3b83f8c8d48121fe7a508ebda2" title="Unish\\outputFormatUnitCase\l\\testOutputFormat" alt="" coords="676,143,868,190"/><area shape="rect" id="node45" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="967,13,1103,43"/><area shape="rect" id="node53" href="includes_2command_8inc.html#af0c377881e5c9c772f0cad80ea016452" title="drush_get_commands" alt="" coords="457,1085,607,1115"/><area shape="rect" id="node55" href="group__dispatching.html#ga1e55a13b320525b6871dacc7265bf5a7" title="_drush_verify_cli_options" alt="" coords="688,859,856,888"/><area shape="rect" id="node58" href="core_8drush_8inc.html#aa42bc0fdfeb8d31d452fd1b9602d3cf9" title="core_help_complete" alt="" coords="703,1165,841,1195"/><area shape="rect" id="node60" href="lib_2Drush_2Boot_2bootstrap_8inc.html#a504cc0d2dfbfa276957c1e02c8f8c900" title="drush_bootstrap" alt="" coords="715,1059,829,1088"/><area shape="rect" id="node73" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="1188,1320,1345,1349"/><area shape="rect" id="node77" href="complete_8inc.html#a4bbb8faee318ca6f3b8d70710d0406ba" title="drush_complete_rebuild\l_arguments" alt="" coords="1188,1250,1345,1297"/><area shape="rect" id="node81" href="includes_2command_8inc.html#ada5bfda5bb64c19886f7253e30a58de2" title="drush_command_normalize_name" alt="" coords="663,1269,881,1299"/><area shape="rect" id="node87" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="693,1392,851,1421"/><area shape="rect" id="node89" href="outputformat_8drush_8inc.html#a4a9cc3871032fba8891b665d2606dcc0" title="drush_get_command_format\l_metadata" alt="" coords="679,1322,865,1369"/><area shape="rect" id="node93" href="topic_8drush_8inc.html#a6565f0ae92a81e15b374bf7a4147362b" title="drush_get_topics" alt="" coords="712,912,832,941"/><area shape="rect" id="node99" href="includes_2command_8inc.html#a727745c7eb5e69dedd5587146c0d0d98" title="drush_is_command" alt="" coords="705,1445,839,1475"/><area shape="rect" id="node101" href="includes_2command_8inc.html#aaf301462cb45c0da60e79ea868323858" title="drush_parse_command" alt="" coords="693,685,851,715"/><area shape="rect" id="node105" href="classUnish_1_1commandUnitCase.html#a9085a0c27da209ad9697b7b0bd74adac" title="Unish\\commandUnitCase\l\\testGetCommands" alt="" coords="687,789,857,835"/><area shape="rect" id="node107" href="topic_8drush_8inc.html#a344ae16f10767b01599d5a0d4ee711e3" title="topic_drush_help_alter" alt="" coords="696,1112,848,1141"/><area shape="rect" id="node62" href="image_8drush_8inc.html#a2dc93132bd3c21ad6e474a9d6a241722" title="image_image_flush_complete" alt="" coords="937,997,1132,1027"/><area shape="rect" id="node64" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="967,1050,1103,1097"/><area shape="rect" id="node66" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="975,1120,1095,1149"/><area shape="rect" id="node68" href="lib_2Drush_2Boot_2bootstrap_8inc.html#a9873ccab1bddcd37adaac3403dd37d60" title="drush_bootstrap_to\l_phase" alt="" coords="1200,1163,1333,1210"/><area shape="rect" id="node71" href="lib_2Drush_2Boot_2bootstrap_8inc.html#adb325e52092d83c685acdee827af1085" title="drush_bootstrap_max" alt="" coords="961,1224,1108,1253"/><area shape="rect" id="node75" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="1409,1289,1548,1319"/><area shape="rect" id="node83" href="includes_2command_8inc.html#aed341ec21a59c794b73f7ba031825632" title="drush_command_get_command\l_specific_options" alt="" coords="932,1327,1137,1374"/><area shape="rect" id="node91" href="core_8drush_8inc.html#aa7e3d1ac48eb92dab34abeb42f84cd3f" title="drush_core_status" alt="" coords="971,1397,1099,1427"/><area shape="rect" id="node96" href="topic_8drush_8inc.html#aeb0d8445f69455eb3eebf375b0dbfd50" title="topic_core_topic_complete" alt="" coords="947,843,1123,872"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a316fd3a909b19c6b88ce4ffc521756da"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_command_engine_config </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$command</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$engine_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$metadata</em> = <code>array()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns engine config supplied in the command definition. </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00134">134</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>Referenced by <a class="el" href="outputformat_8drush_8inc_source.html#l00029">drush_get_command_format_metadata()</a>, and <a class="el" href="engines_8inc_source.html#l00146">drush_load_command_engine()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a316fd3a909b19c6b88ce4ffc521756da_icgraph.png" border="0" usemap="#engines_8inc_a316fd3a909b19c6b88ce4ffc521756da_icgraph" alt=""/></div>
<map name="engines_8inc_a316fd3a909b19c6b88ce4ffc521756da_icgraph" id="engines_8inc_a316fd3a909b19c6b88ce4ffc521756da_icgraph">
<area shape="rect" id="node3" href="outputformat_8drush_8inc.html#a4a9cc3871032fba8891b665d2606dcc0" title="drush_get_command_format\l_metadata" alt="" coords="243,5,429,51"/><area shape="rect" id="node7" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="261,74,411,121"/><area shape="rect" id="node5" href="core_8drush_8inc.html#aa7e3d1ac48eb92dab34abeb42f84cd3f" title="drush_core_status" alt="" coords="516,13,644,43"/><area shape="rect" id="node9" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="477,75,683,104"/><area shape="rect" id="node17" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87" title="drush_load_command\l_engines" alt="" coords="505,127,655,174"/><area shape="rect" id="node11" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="732,9,879,55"/><area shape="rect" id="node15" href="views_8d8_8drush_8inc.html#aeb32a75a48c4c084de58193c6d8cfca2" title="drush_views_execute" alt="" coords="732,79,879,108"/><area shape="rect" id="node13" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="936,17,1077,47"/><area shape="rect" id="node19" href="group__dispatching.html#ga5db6ec7318291b3692bf905b87a9276b" title="drush_dispatch" alt="" coords="751,136,860,165"/><area shape="rect" id="node21" href="topic_8drush_8inc.html#ae8a604f9b99910a82bc193b3d11490cc" title="drush_topic_core_topic" alt="" coords="929,109,1084,139"/><area shape="rect" id="node23" href="group__dispatching.html#gad45b0ad6ccdc34ebb10d38d5c2d6a1d1" title="drush_invoke" alt="" coords="957,163,1056,192"/><area shape="rect" id="node25" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="1135,109,1300,139"/><area shape="rect" id="node27" href="pm_8drush_8inc.html#a53ddf8818f1813dcb0a833a64c75d318" title="drush_pm_update" alt="" coords="1155,163,1280,192"/><area shape="rect" id="node29" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1141,216,1293,245"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a34ff5c6bb43688e04d0647eddf48d553"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_engine </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return the engine of the specified type that was loaded by the Drush command. </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00506">506</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>.</p>

<p>Referenced by <a class="el" href="outputformat_8drush_8inc_source.html#l00011">drush_get_outputformat()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a34ff5c6bb43688e04d0647eddf48d553_cgraph.png" border="0" usemap="#engines_8inc_a34ff5c6bb43688e04d0647eddf48d553_cgraph" alt=""/></div>
<map name="engines_8inc_a34ff5c6bb43688e04d0647eddf48d553_cgraph" id="engines_8inc_a34ff5c6bb43688e04d0647eddf48d553_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="180,5,308,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a34ff5c6bb43688e04d0647eddf48d553_icgraph.png" border="0" usemap="#engines_8inc_a34ff5c6bb43688e04d0647eddf48d553_icgraph" alt=""/></div>
<map name="engines_8inc_a34ff5c6bb43688e04d0647eddf48d553_icgraph" id="engines_8inc_a34ff5c6bb43688e04d0647eddf48d553_icgraph">
<area shape="rect" id="node3" href="outputformat_8drush_8inc.html#a9b9f691b2f676d97dc57dc3e60f57500" title="drush_get_outputformat" alt="" coords="180,13,337,43"/><area shape="rect" id="node5" href="group__dispatching.html#gaec7e84c5668d8e13f33c948659112495" title="drush_handle_command\l_output" alt="" coords="387,5,549,51"/><area shape="rect" id="node7" href="group__dispatching.html#gac0d79cc522d6f5cecf9f72ecc5ecceb8" title="_drush_invoke_hooks" alt="" coords="599,13,745,43"/><area shape="rect" id="node9" href="group__dispatching.html#gae7a7f1f4b8c5edffbc2ececc6638698a" title="drush_command" alt="" coords="796,13,913,43"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad7c7ef01f88180e6010e2d2cbb24b347"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_engine_topics </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Take a look at all of the available engines, and create topic commands for each one that declares a topic. </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00096">96</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="lib_2Drush_2Boot_2bootstrap_8inc_source.html#l00041">DRUSH_BOOTSTRAP_DRUSH</a>, and <a class="el" href="engines_8inc_source.html#l00013">drush_get_engine_types_info()</a>.</p>

<p>Referenced by <a class="el" href="core_8drush_8inc_source.html#l00059">core_drush_command()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_ad7c7ef01f88180e6010e2d2cbb24b347_cgraph.png" border="0" usemap="#engines_8inc_ad7c7ef01f88180e6010e2d2cbb24b347_cgraph" alt=""/></div>
<map name="engines_8inc_ad7c7ef01f88180e6010e2d2cbb24b347_cgraph" id="engines_8inc_ad7c7ef01f88180e6010e2d2cbb24b347_cgraph">
<area shape="rect" id="node3" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="223,5,412,35"/><area shape="rect" id="node5" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="463,5,644,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_ad7c7ef01f88180e6010e2d2cbb24b347_icgraph.png" border="0" usemap="#engines_8inc_ad7c7ef01f88180e6010e2d2cbb24b347_icgraph" alt=""/></div>
<map name="engines_8inc_ad7c7ef01f88180e6010e2d2cbb24b347_icgraph" id="engines_8inc_ad7c7ef01f88180e6010e2d2cbb24b347_icgraph">
<area shape="rect" id="node3" href="core_8drush_8inc.html#a77d0c92afc27091badfbb0995b1ac19c" title="core_drush_command" alt="" coords="223,5,372,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a50374de188af3d1cb754476607b9c375"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_engine_types_info </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Obtain all engine types info and normalize with defaults.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group__hooks.html#ga6512325eecb656befe244aad3e709bb1">hook_drush_engine_type_info()</a>. </dd></dl>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00013">13</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="includes_2command_8inc_source.html#l01251">drush_command_invoke_all()</a>.</p>

<p>Referenced by <a class="el" href="engines_8inc_source.html#l00521">drush_engine_add_help_topics()</a>, <a class="el" href="engines_8inc_source.html#l00096">drush_get_engine_topics()</a>, <a class="el" href="engines_8inc_source.html#l00057">drush_get_engines()</a>, and <a class="el" href="engines_8inc_source.html#l00173">drush_merge_engine_data()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a50374de188af3d1cb754476607b9c375_cgraph.png" border="0" usemap="#engines_8inc_a50374de188af3d1cb754476607b9c375_cgraph" alt=""/></div>
<map name="engines_8inc_a50374de188af3d1cb754476607b9c375_cgraph" id="engines_8inc_a50374de188af3d1cb754476607b9c375_cgraph">
<area shape="rect" id="node3" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="247,5,428,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a50374de188af3d1cb754476607b9c375_icgraph.png" border="0" usemap="#engines_8inc_a50374de188af3d1cb754476607b9c375_icgraph" alt=""/></div>
<map name="engines_8inc_a50374de188af3d1cb754476607b9c375_icgraph" id="engines_8inc_a50374de188af3d1cb754476607b9c375_icgraph">
<area shape="rect" id="node3" href="engines_8inc.html#a4f5313a2d79cd6fbcde3d30b361e306e" title="drush_engine_add_help\l_topics" alt="" coords="251,819,408,866"/><area shape="rect" id="node5" href="engines_8inc.html#ad7c7ef01f88180e6010e2d2cbb24b347" title="drush_get_engine_topics" alt="" coords="247,889,412,919"/><area shape="rect" id="node9" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="264,943,395,972"/><area shape="rect" id="node34" href="engines_8inc.html#a04ee0e7019029ef27bc4e8f14341b2b4" title="drush_merge_engine_data" alt="" coords="463,1097,636,1127"/><area shape="rect" id="node7" href="core_8drush_8inc.html#a77d0c92afc27091badfbb0995b1ac19c" title="core_drush_command" alt="" coords="475,84,624,113"/><area shape="rect" id="node11" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="695,1765,871,1811"/><area shape="rect" id="node21" href="drush_8inc.html#aa61cd59315f7a89a8c7df8649f480a31" title="drush_version_control\l_reserved_files" alt="" coords="708,1695,857,1742"/><area shape="rect" id="node28" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="939,197,1088,243"/><area shape="rect" id="node38" href="engines_8inc.html#a434593aa5eee4a2a9e6e51cdca8ccab5" title="drush_engine_topic\l_command" alt="" coords="483,187,616,234"/><area shape="rect" id="node40" href="engines_8inc.html#af360562cce71af9828bbbb7326b1d7a8" title="drush_load_engine" alt="" coords="717,136,848,165"/><area shape="rect" id="node49" href="engines_8inc.html#a91df31f18b0a1d05540ccaf85e6d9a88" title="drush_include_engine" alt="" coords="476,943,623,972"/><area shape="rect" id="node13" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="1187,1789,1312,1819"/><area shape="rect" id="node15" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="943,1712,1084,1741"/><area shape="rect" id="node17" href="updatecode_8pm_8inc.html#a72c100c43f73f1c3d0f713227ae736cb" title="drush_pm_updatecode\l_rollback" alt="" coords="937,1866,1089,1913"/><area shape="rect" id="node19" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="1175,1685,1324,1715"/><area shape="rect" id="node24" href="updatecode_8pm_8inc.html#a5a3737ff6d07b1666960729bf8e2d684" title="pm_update_project" alt="" coords="948,1659,1079,1688"/><area shape="rect" id="node30" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="1147,175,1352,204"/><area shape="rect" id="node32" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87" title="drush_load_command\l_engines" alt="" coords="1175,227,1324,274"/><area shape="rect" id="node36" href="includes_2command_8inc.html#af0c377881e5c9c772f0cad80ea016452" title="drush_get_commands" alt="" coords="708,1835,857,1864"/><area shape="rect" id="node42" href="group__dispatching.html#gaec7e84c5668d8e13f33c948659112495" title="drush_handle_command\l_output" alt="" coords="932,58,1095,105"/><area shape="rect" id="node44" href="group__commandprocessing.html#gac5fea44d3fe064240192925f864d57a6" title="drush_preflight_command\l_dispatch" alt="" coords="928,127,1099,174"/><area shape="rect" id="node47" href="group__outputfunctions.html#ga9949217d2df2776bd355c4a3d50bba79" title="drush_format" alt="" coords="964,5,1063,35"/><area shape="rect" id="node51" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="712,797,853,827"/><area shape="rect" id="node53" href="core_8drush_8inc.html#a496a7a4d064f54c13fc03c1c6e2844f4" title="drush_core_updatedb" alt="" coords="709,851,856,880"/><area shape="rect" id="node55" href="core_8drush_8inc.html#aefd8feb109bb44eb6543dbd18f64b91b" title="drush_core_updatedb\l_status" alt="" coords="709,903,856,950"/><area shape="rect" id="node57" href="core_8drush_8inc.html#adebaebb0b4f27f018d98cf29420de69f" title="drush_core_requirements" alt="" coords="699,973,867,1003"/><area shape="rect" id="node59" href="core_8drush_8inc.html#a29b2ff77f4ca8032f23039c5d835c7ad" title="drush_core_updatedb\l_batch_process" alt="" coords="709,1026,856,1073"/><area shape="rect" id="node61" href="includes_2batch_8inc.html#a706c51a974d149cdc701f47f9843143b" title="drush_backend_batch\l_process" alt="" coords="708,1095,857,1142"/><area shape="rect" id="node63" href="includes_2batch_8inc.html#af470f96043a86e75e72cb186abf518ce" title="drush_batch_command" alt="" coords="704,1165,861,1195"/><area shape="rect" id="node65" href="includes_2environment_8inc.html#a2f6ea049bc3f5361815aafe6f44a535d" title="drush_get_extensions" alt="" coords="708,1272,857,1301"/><area shape="rect" id="node67" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="948,1219,1079,1248"/><area shape="rect" id="node69" href="includes_2environment_8inc.html#a317a284967256e1c0452a13462388c21" title="drush_extension_get_name" alt="" coords="692,248,873,277"/><area shape="rect" id="node72" href="includes_2environment_8inc.html#a5536e4ffcf1cdf1f176e15a3aed81af7" title="drush_extension_get_type" alt="" coords="696,477,869,507"/><area shape="rect" id="node75" href="includes_2environment_8inc.html#a62a951f395505ed28ea3f0a5a108419c" title="drush_extension_get_path" alt="" coords="696,1219,869,1248"/><area shape="rect" id="node78" href="includes_2environment_8inc.html#a57dd90a056796e9c5cd43b9c0ddb8f3e" title="drush_theme_get_default" alt="" coords="699,1376,867,1405"/><area shape="rect" id="node80" href="includes_2environment_8inc.html#a53d271b99022c85e63b4b47015d47341" title="drush_theme_get_admin" alt="" coords="701,1429,864,1459"/><area shape="rect" id="node82" href="includes_2environment_8inc.html#aec9b1fcb95f06fe8101c3deb3e5d0be0" title="drush_file_get_public" alt="" coords="711,1483,855,1512"/><area shape="rect" id="node84" href="includes_2environment_8inc.html#a222673d87e8d1364deecea540731945f" title="drush_file_get_private" alt="" coords="708,1536,857,1565"/><area shape="rect" id="node86" href="update__6_8inc.html#a39592132a77fd791c44a8d6faf362cb0" title="update_check_incompatibility" alt="" coords="687,1589,879,1619"/><area shape="rect" id="node88" href="image_8drush_8inc.html#a2dc93132bd3c21ad6e474a9d6a241722" title="image_image_flush_complete" alt="" coords="685,1643,880,1672"/><area shape="rect" id="node90" href="test_8drush_8inc.html#a51877c20991275c2f1b3db7ed15aa82e" title="test_test_run_complete" alt="" coords="704,301,861,331"/><area shape="rect" id="node92" href="git__drupalorg_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="697,355,868,384"/><area shape="rect" id="node95" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="707,407,859,454"/><area shape="rect" id="node97" href="pm_8drush_8inc.html#aa99b7d46939c1f550211d2c09a72b977" title="drush_pm_enable" alt="" coords="721,531,844,560"/><area shape="rect" id="node99" href="pm_8drush_8inc.html#a836eda9c253a0e7edd01c683fe2d6d00" title="drush_pm_disable" alt="" coords="720,584,845,613"/><area shape="rect" id="node101" href="pm_8drush_8inc.html#a89e844acc44eb017c1a12840164316af" title="drush_pm_uninstall" alt="" coords="716,637,849,667"/><area shape="rect" id="node104" href="includes_2drupal_8inc.html#ac194fb53f4e5500f275a2debb0dfc608" title="system_watchdog" alt="" coords="719,691,847,720"/><area shape="rect" id="node106" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="691,744,875,773"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae94a82d80d5e90cb126de1f16a7f8fe4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_engines </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$engine_type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a structured array of engines of a specific type.</p>
<p>Engines are pluggable subsystems. Each engine of a specific type will implement the same set of API functions and perform the same high-level task using a different backend or approach.</p>
<p>This function/hook is useful when you have a selection of several mutually exclusive options to present to a user to select from.</p>
<p>Other commands are able to extend this list and provide their own engines. The hook can return useful information to help users decide which engine they need, such as description or list of available engine options.</p>
<p>The engine path element will automatically default to a subdirectory (within the directory of the commandfile that implemented the hook) with the name of the type of engine - e.g. an engine "wget" of type "handler" provided by the "pm" commandfile would automatically be found if the file "pm/handler/wget.inc" exists and a specific path is not provided.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$engine_type</td><td>The type of engine.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A structured array of engines. </dd></dl>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00057">57</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="includes_2command_8inc_source.html#l01636">drush_command_hook()</a>, <a class="el" href="includes_2command_8inc_source.html#l01355">drush_commandfile_list()</a>, <a class="el" href="engines_8inc_source.html#l00013">drush_get_engine_types_info()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="engines_8inc_source.html#l00326">drush_engine_topic_command()</a>, <a class="el" href="engines_8inc_source.html#l00479">drush_include_engine()</a>, <a class="el" href="engines_8inc_source.html#l00146">drush_load_command_engine()</a>, <a class="el" href="engines_8inc_source.html#l00420">drush_load_engine()</a>, <a class="el" href="engines_8inc_source.html#l00173">drush_merge_engine_data()</a>, <a class="el" href="pm_8drush_8inc_source.html#l01491">drush_pm_include_version_control()</a>, and <a class="el" href="drush_8inc_source.html#l01885">drush_version_control_reserved_files()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_ae94a82d80d5e90cb126de1f16a7f8fe4_cgraph.png" border="0" usemap="#engines_8inc_ae94a82d80d5e90cb126de1f16a7f8fe4_cgraph" alt=""/></div>
<map name="engines_8inc_ae94a82d80d5e90cb126de1f16a7f8fe4_cgraph" id="engines_8inc_ae94a82d80d5e90cb126de1f16a7f8fe4_cgraph">
<area shape="rect" id="node3" href="includes_2command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="204,5,356,35"/><area shape="rect" id="node5" href="includes_2command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="657,84,815,113"/><area shape="rect" id="node9" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="185,109,375,139"/><area shape="rect" id="node13" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="224,163,336,192"/><area shape="rect" id="node24" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="261,271,299,300"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="897,213,1025,243"/><area shape="rect" id="node11" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="425,109,607,139"/><area shape="rect" id="node17" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="659,213,813,243"/><area shape="rect" id="node20" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="477,264,555,293"/><area shape="rect" id="node26" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="449,317,583,363"/><area shape="rect" id="node28" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="664,321,808,351"/><area shape="rect" id="node30" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="864,321,1059,351"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_ae94a82d80d5e90cb126de1f16a7f8fe4_icgraph.png" border="0" usemap="#engines_8inc_ae94a82d80d5e90cb126de1f16a7f8fe4_icgraph" alt=""/></div>
<map name="engines_8inc_ae94a82d80d5e90cb126de1f16a7f8fe4_icgraph" id="engines_8inc_ae94a82d80d5e90cb126de1f16a7f8fe4_icgraph">
<area shape="rect" id="node3" href="engines_8inc.html#a434593aa5eee4a2a9e6e51cdca8ccab5" title="drush_engine_topic\l_command" alt="" coords="205,821,339,867"/><area shape="rect" id="node5" href="engines_8inc.html#a91df31f18b0a1d05540ccaf85e6d9a88" title="drush_include_engine" alt="" coords="199,891,345,920"/><area shape="rect" id="node63" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="417,1645,593,1691"/><area shape="rect" id="node77" href="drush_8inc.html#aa61cd59315f7a89a8c7df8649f480a31" title="drush_version_control\l_reserved_files" alt="" coords="431,1575,580,1622"/><area shape="rect" id="node84" href="engines_8inc.html#af360562cce71af9828bbbb7326b1d7a8" title="drush_load_engine" alt="" coords="440,1744,571,1773"/><area shape="rect" id="node90" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="661,1927,811,1974"/><area shape="rect" id="node104" href="engines_8inc.html#a04ee0e7019029ef27bc4e8f14341b2b4" title="drush_merge_engine_data" alt="" coords="185,1848,359,1877"/><area shape="rect" id="node7" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="435,837,576,867"/><area shape="rect" id="node9" href="core_8drush_8inc.html#a496a7a4d064f54c13fc03c1c6e2844f4" title="drush_core_updatedb" alt="" coords="432,891,579,920"/><area shape="rect" id="node11" href="core_8drush_8inc.html#aefd8feb109bb44eb6543dbd18f64b91b" title="drush_core_updatedb\l_status" alt="" coords="432,943,579,990"/><area shape="rect" id="node13" href="core_8drush_8inc.html#adebaebb0b4f27f018d98cf29420de69f" title="drush_core_requirements" alt="" coords="421,1013,589,1043"/><area shape="rect" id="node15" href="core_8drush_8inc.html#a29b2ff77f4ca8032f23039c5d835c7ad" title="drush_core_updatedb\l_batch_process" alt="" coords="432,1066,579,1113"/><area shape="rect" id="node17" href="includes_2batch_8inc.html#a706c51a974d149cdc701f47f9843143b" title="drush_backend_batch\l_process" alt="" coords="431,1135,580,1182"/><area shape="rect" id="node23" href="includes_2batch_8inc.html#af470f96043a86e75e72cb186abf518ce" title="drush_batch_command" alt="" coords="427,1205,584,1235"/><area shape="rect" id="node25" href="includes_2environment_8inc.html#a2f6ea049bc3f5361815aafe6f44a535d" title="drush_get_extensions" alt="" coords="431,1259,580,1288"/><area shape="rect" id="node27" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="671,1365,801,1395"/><area shape="rect" id="node29" href="includes_2environment_8inc.html#a317a284967256e1c0452a13462388c21" title="drush_extension_get_name" alt="" coords="415,1312,596,1341"/><area shape="rect" id="node32" href="includes_2environment_8inc.html#a5536e4ffcf1cdf1f176e15a3aed81af7" title="drush_extension_get_type" alt="" coords="419,1365,592,1395"/><area shape="rect" id="node35" href="includes_2environment_8inc.html#a62a951f395505ed28ea3f0a5a108419c" title="drush_extension_get_path" alt="" coords="419,1419,592,1448"/><area shape="rect" id="node38" href="includes_2environment_8inc.html#a57dd90a056796e9c5cd43b9c0ddb8f3e" title="drush_theme_get_default" alt="" coords="421,1523,589,1552"/><area shape="rect" id="node40" href="includes_2environment_8inc.html#a53d271b99022c85e63b4b47015d47341" title="drush_theme_get_admin" alt="" coords="424,5,587,35"/><area shape="rect" id="node42" href="includes_2environment_8inc.html#aec9b1fcb95f06fe8101c3deb3e5d0be0" title="drush_file_get_public" alt="" coords="433,59,577,88"/><area shape="rect" id="node44" href="includes_2environment_8inc.html#a222673d87e8d1364deecea540731945f" title="drush_file_get_private" alt="" coords="431,112,580,141"/><area shape="rect" id="node46" href="update__6_8inc.html#a39592132a77fd791c44a8d6faf362cb0" title="update_check_incompatibility" alt="" coords="409,165,601,195"/><area shape="rect" id="node48" href="image_8drush_8inc.html#a2dc93132bd3c21ad6e474a9d6a241722" title="image_image_flush_complete" alt="" coords="408,219,603,248"/><area shape="rect" id="node50" href="test_8drush_8inc.html#a51877c20991275c2f1b3db7ed15aa82e" title="test_test_run_complete" alt="" coords="427,272,584,301"/><area shape="rect" id="node52" href="git__drupalorg_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="420,325,591,355"/><area shape="rect" id="node55" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="429,378,581,425"/><area shape="rect" id="node57" href="pm_8drush_8inc.html#aa99b7d46939c1f550211d2c09a72b977" title="drush_pm_enable" alt="" coords="444,448,567,477"/><area shape="rect" id="node59" href="pm_8drush_8inc.html#a836eda9c253a0e7edd01c683fe2d6d00" title="drush_pm_disable" alt="" coords="443,501,568,531"/><area shape="rect" id="node61" href="pm_8drush_8inc.html#a89e844acc44eb017c1a12840164316af" title="drush_pm_uninstall" alt="" coords="439,555,572,584"/><area shape="rect" id="node73" href="includes_2drupal_8inc.html#ac194fb53f4e5500f275a2debb0dfc608" title="system_watchdog" alt="" coords="441,608,569,637"/><area shape="rect" id="node75" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="413,661,597,691"/><area shape="rect" id="node98" href="lib_2Drush_2Boot_2bootstrap_8inc.html#adc30118a77a2f8c97e22215bd5d2ac08" title="_drush_bootstrap_drupal_full" alt="" coords="412,715,599,744"/><area shape="rect" id="node100" href="classUnish_1_1releaseInfoCase.html#ac6674cd3b0e5cb2861e3550cf88fd320" title="Unish\\releaseInfoCase\l\\testReleaseXML" alt="" coords="428,767,583,814"/><area shape="rect" id="node19" href="commands_2pm_2update__info_2drupal_8inc.html#afa1132bbe8f4d56b787a9a93d4971871" title="_pm_get_update_info" alt="" coords="663,1117,809,1147"/><area shape="rect" id="node21" href="unit_8drush_8inc.html#ae381f2b0e4bd97806103a439b9af1b0c" title="drush_unit_batch" alt="" coords="676,1171,796,1200"/><area shape="rect" id="node65" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="909,1512,1035,1541"/><area shape="rect" id="node67" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="665,1512,807,1541"/><area shape="rect" id="node69" href="updatecode_8pm_8inc.html#a72c100c43f73f1c3d0f713227ae736cb" title="drush_pm_updatecode\l_rollback" alt="" coords="660,1615,812,1662"/><area shape="rect" id="node71" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="897,1625,1047,1655"/><area shape="rect" id="node80" href="updatecode_8pm_8inc.html#a5a3737ff6d07b1666960729bf8e2d684" title="pm_update_project" alt="" coords="671,1459,801,1488"/><area shape="rect" id="node86" href="group__dispatching.html#gaec7e84c5668d8e13f33c948659112495" title="drush_handle_command\l_output" alt="" coords="655,1735,817,1782"/><area shape="rect" id="node88" href="group__commandprocessing.html#gac5fea44d3fe064240192925f864d57a6" title="drush_preflight_command\l_dispatch" alt="" coords="651,1805,821,1851"/><area shape="rect" id="node96" href="group__outputfunctions.html#ga9949217d2df2776bd355c4a3d50bba79" title="drush_format" alt="" coords="687,1875,785,1904"/><area shape="rect" id="node92" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="869,1905,1075,1935"/><area shape="rect" id="node94" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87" title="drush_load_command\l_engines" alt="" coords="897,1958,1047,2005"/><area shape="rect" id="node106" href="includes_2command_8inc.html#af0c377881e5c9c772f0cad80ea016452" title="drush_get_commands" alt="" coords="431,1848,580,1877"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="afc75f35fe69601eee5e1c11a303dbbd0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_user_selected_engine </td>
          <td>(</td>
          <td class="paramtype">&amp;&#160;</td>
          <td class="paramname"><em>$config</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$engine_info</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Obtains the engine to use.</p>
<p>Precedence:</p>
<ul>
<li>user supplied engine via cli.</li>
<li>default engine configured for the command.</li>
<li>the first engine of all available.</li>
</ul>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="engines_8inc.html#ac18b04b38c84979a32603cd5cef78c69">drush_find_engine_to_use()</a>.</dd></dl>
<p>#TODO# clarify naming of functions and entrance point. </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00382">382</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>.</p>

<p>Referenced by <a class="el" href="engines_8inc_source.html#l00146">drush_load_command_engine()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_afc75f35fe69601eee5e1c11a303dbbd0_cgraph.png" border="0" usemap="#engines_8inc_afc75f35fe69601eee5e1c11a303dbbd0_cgraph" alt=""/></div>
<map name="engines_8inc_afc75f35fe69601eee5e1c11a303dbbd0_cgraph" id="engines_8inc_afc75f35fe69601eee5e1c11a303dbbd0_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="223,59,343,88"/><area shape="rect" id="node5" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="404,5,532,35"/><area shape="rect" id="node7" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="393,59,543,88"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="404,112,532,141"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_afc75f35fe69601eee5e1c11a303dbbd0_icgraph.png" border="0" usemap="#engines_8inc_afc75f35fe69601eee5e1c11a303dbbd0_icgraph" alt=""/></div>
<map name="engines_8inc_afc75f35fe69601eee5e1c11a303dbbd0_icgraph" id="engines_8inc_afc75f35fe69601eee5e1c11a303dbbd0_icgraph">
<area shape="rect" id="node3" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="221,93,371,139"/><area shape="rect" id="node5" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="419,71,624,100"/><area shape="rect" id="node13" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87" title="drush_load_command\l_engines" alt="" coords="447,123,596,170"/><area shape="rect" id="node7" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="673,5,820,51"/><area shape="rect" id="node11" href="views_8d8_8drush_8inc.html#aeb32a75a48c4c084de58193c6d8cfca2" title="drush_views_execute" alt="" coords="673,75,820,104"/><area shape="rect" id="node9" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="877,13,1019,43"/><area shape="rect" id="node15" href="group__dispatching.html#ga5db6ec7318291b3692bf905b87a9276b" title="drush_dispatch" alt="" coords="692,132,801,161"/><area shape="rect" id="node17" href="topic_8drush_8inc.html#ae8a604f9b99910a82bc193b3d11490cc" title="drush_topic_core_topic" alt="" coords="871,105,1025,135"/><area shape="rect" id="node19" href="group__dispatching.html#gad45b0ad6ccdc34ebb10d38d5c2d6a1d1" title="drush_invoke" alt="" coords="899,159,997,188"/><area shape="rect" id="node21" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="1076,105,1241,135"/><area shape="rect" id="node23" href="pm_8drush_8inc.html#a53ddf8818f1813dcb0a833a64c75d318" title="drush_pm_update" alt="" coords="1096,159,1221,188"/><area shape="rect" id="node25" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1083,212,1235,241"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a91df31f18b0a1d05540ccaf85e6d9a88"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_include_engine </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$selected_engine</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$version</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$path</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$engine_config</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Include the engine code for a specific named engine of a certain type.</p>
<p>If the engine type has implemented hook_drush_engine_$type the path to the engine specified in the array will be used.</p>
<p>If a class named in the form drush_$type_$engine exists, it will be an object of that class will be created and returned.</p>
<p>If you don't need to present any user options for selecting the engine (which is common if the selection is implied by the running environment) and you don't need to allow other modules to define their own engines you can simply pass the $path to the directory where the engines are, and the appropriate one will be included.</p>
<p>Unlike drush_include this function will set errors if the requested engine cannot be found.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$type</td><td>The type of engine. </td></tr>
    <tr><td class="paramname">$engine</td><td>The key for the engine to be included. </td></tr>
    <tr><td class="paramname">$version</td><td>The version of the engine to be included - defaults to the current Drupal core major version. </td></tr>
    <tr><td class="paramname">$path</td><td>A path to include from, if the engine has no corresponding hook_drush_engine_$type item path. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE or instanced object of available class on success. FALSE on fail. </dd></dl>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00479">479</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="engines_8inc_source.html#l00057">drush_get_engines()</a>, <a class="el" href="drush_8inc_source.html#l00063">drush_include()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="lib_2Drush_2Boot_2bootstrap_8inc_source.html#l00668">_drush_bootstrap_drupal_full()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00071">drush_archive_dump()</a>, <a class="el" href="includes_2batch_8inc_source.html#l00070">drush_backend_batch_process()</a>, <a class="el" href="includes_2batch_8inc_source.html#l00087">drush_batch_command()</a>, <a class="el" href="core_8drush_8inc_source.html#l00749">drush_core_requirements()</a>, <a class="el" href="core_8drush_8inc_source.html#l00441">drush_core_updatedb()</a>, <a class="el" href="core_8drush_8inc_source.html#l01125">drush_core_updatedb_batch_process()</a>, <a class="el" href="core_8drush_8inc_source.html#l00466">drush_core_updatedb_status()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00756">drush_extension_get_name()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00782">drush_extension_get_path()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00769">drush_extension_get_type()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00844">drush_file_get_private()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00836">drush_file_get_public()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00730">drush_get_extensions()</a>, <a class="el" href="pm_8drush_8inc_source.html#l00533">drush_get_projects()</a>, <a class="el" href="drush_8api_8php_source.html#l00241">drush_hook_pre_pm_enable()</a>, <a class="el" href="engines_8inc_source.html#l00420">drush_load_engine()</a>, <a class="el" href="pm_8drush_8inc_source.html#l01055">drush_pm_disable()</a>, <a class="el" href="pm_8drush_8inc_source.html#l01000">drush_pm_enable()</a>, <a class="el" href="pm_8drush_8inc_source.html#l00824">drush_pm_find_project_from_extension()</a>, <a class="el" href="pm_8drush_8inc_source.html#l01491">drush_pm_include_version_control()</a>, <a class="el" href="pm_8drush_8inc_source.html#l01093">drush_pm_uninstall()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00828">drush_theme_get_admin()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00817">drush_theme_get_default()</a>, <a class="el" href="drush_8inc_source.html#l01885">drush_version_control_reserved_files()</a>, <a class="el" href="image_8drush_8inc_source.html#l00065">image_image_flush_complete()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00011">package_handler_validate()</a>, <a class="el" href="includes_2drupal_8inc_source.html#l00093">system_watchdog()</a>, <a class="el" href="test_8drush_8inc_source.html#l00082">test_test_run_complete()</a>, <a class="el" href="releaseInfoTest_8php_source.html#l00032">Unish\releaseInfoCase\testReleaseXML()</a>, and <a class="el" href="update__6_8inc_source.html#l00146">update_check_incompatibility()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a91df31f18b0a1d05540ccaf85e6d9a88_cgraph.png" border="0" usemap="#engines_8inc_a91df31f18b0a1d05540ccaf85e6d9a88_cgraph" alt=""/></div>
<map name="engines_8inc_a91df31f18b0a1d05540ccaf85e6d9a88_cgraph" id="engines_8inc_a91df31f18b0a1d05540ccaf85e6d9a88_cgraph">
<area shape="rect" id="node3" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="200,111,331,140"/><area shape="rect" id="node15" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="419,163,531,192"/><area shape="rect" id="node26" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="456,216,493,245"/><area shape="rect" id="node35" href="drush_8inc.html#a80ce43b30f833522f72180811dab5a3e" title="drush_include" alt="" coords="215,296,316,325"/><area shape="rect" id="node5" href="includes_2command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="399,5,551,35"/><area shape="rect" id="node7" href="includes_2command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="852,84,1009,113"/><area shape="rect" id="node11" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="380,109,569,139"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1092,215,1220,244"/><area shape="rect" id="node13" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="620,109,801,139"/><area shape="rect" id="node19" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="853,163,1008,192"/><area shape="rect" id="node22" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="672,213,749,243"/><area shape="rect" id="node28" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="644,317,777,363"/><area shape="rect" id="node30" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="859,321,1003,351"/><area shape="rect" id="node32" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1059,321,1253,351"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a91df31f18b0a1d05540ccaf85e6d9a88_icgraph.png" border="0" usemap="#engines_8inc_a91df31f18b0a1d05540ccaf85e6d9a88_icgraph" alt=""/></div>
<map name="engines_8inc_a91df31f18b0a1d05540ccaf85e6d9a88_icgraph" id="engines_8inc_a91df31f18b0a1d05540ccaf85e6d9a88_icgraph">
<area shape="rect" id="node3" href="lib_2Drush_2Boot_2bootstrap_8inc.html#adc30118a77a2f8c97e22215bd5d2ac08" title="_drush_bootstrap_drupal_full" alt="" coords="204,5,391,35"/><area shape="rect" id="node5" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="227,59,368,88"/><area shape="rect" id="node7" href="includes_2batch_8inc.html#a706c51a974d149cdc701f47f9843143b" title="drush_backend_batch\l_process" alt="" coords="223,111,372,158"/><area shape="rect" id="node17" href="includes_2batch_8inc.html#af470f96043a86e75e72cb186abf518ce" title="drush_batch_command" alt="" coords="219,181,376,211"/><area shape="rect" id="node21" href="core_8drush_8inc.html#adebaebb0b4f27f018d98cf29420de69f" title="drush_core_requirements" alt="" coords="213,235,381,264"/><area shape="rect" id="node23" href="core_8drush_8inc.html#a496a7a4d064f54c13fc03c1c6e2844f4" title="drush_core_updatedb" alt="" coords="224,288,371,317"/><area shape="rect" id="node25" href="core_8drush_8inc.html#a29b2ff77f4ca8032f23039c5d835c7ad" title="drush_core_updatedb\l_batch_process" alt="" coords="224,341,371,387"/><area shape="rect" id="node27" href="core_8drush_8inc.html#aefd8feb109bb44eb6543dbd18f64b91b" title="drush_core_updatedb\l_status" alt="" coords="224,410,371,457"/><area shape="rect" id="node29" href="includes_2environment_8inc.html#a317a284967256e1c0452a13462388c21" title="drush_extension_get_name" alt="" coords="207,480,388,509"/><area shape="rect" id="node38" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="480,336,611,365"/><area shape="rect" id="node45" href="includes_2environment_8inc.html#a62a951f395505ed28ea3f0a5a108419c" title="drush_extension_get_path" alt="" coords="211,584,384,613"/><area shape="rect" id="node51" href="includes_2environment_8inc.html#a5536e4ffcf1cdf1f176e15a3aed81af7" title="drush_extension_get_type" alt="" coords="211,797,384,827"/><area shape="rect" id="node68" href="includes_2environment_8inc.html#a222673d87e8d1364deecea540731945f" title="drush_file_get_private" alt="" coords="223,691,372,720"/><area shape="rect" id="node70" href="includes_2environment_8inc.html#aec9b1fcb95f06fe8101c3deb3e5d0be0" title="drush_file_get_public" alt="" coords="225,744,369,773"/><area shape="rect" id="node72" href="includes_2environment_8inc.html#a2f6ea049bc3f5361815aafe6f44a535d" title="drush_get_extensions" alt="" coords="223,637,372,667"/><area shape="rect" id="node87" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="205,851,389,880"/><area shape="rect" id="node89" href="engines_8inc.html#af360562cce71af9828bbbb7326b1d7a8" title="drush_load_engine" alt="" coords="232,904,363,933"/><area shape="rect" id="node91" href="pm_8drush_8inc.html#a836eda9c253a0e7edd01c683fe2d6d00" title="drush_pm_disable" alt="" coords="235,957,360,987"/><area shape="rect" id="node93" href="pm_8drush_8inc.html#aa99b7d46939c1f550211d2c09a72b977" title="drush_pm_enable" alt="" coords="236,1011,359,1040"/><area shape="rect" id="node95" href="pm_8drush_8inc.html#a9ac55f981042516472e063eef9d51b0c" title="drush_pm_find_project\l_from_extension" alt="" coords="721,1226,873,1273"/><area shape="rect" id="node98" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="209,1114,385,1161"/><area shape="rect" id="node100" href="pm_8drush_8inc.html#a89e844acc44eb017c1a12840164316af" title="drush_pm_uninstall" alt="" coords="231,1184,364,1213"/><area shape="rect" id="node102" href="includes_2environment_8inc.html#a53d271b99022c85e63b4b47015d47341" title="drush_theme_get_admin" alt="" coords="216,1237,379,1267"/><area shape="rect" id="node104" href="includes_2environment_8inc.html#a57dd90a056796e9c5cd43b9c0ddb8f3e" title="drush_theme_get_default" alt="" coords="213,1291,381,1320"/><area shape="rect" id="node106" href="drush_8inc.html#aa61cd59315f7a89a8c7df8649f480a31" title="drush_version_control\l_reserved_files" alt="" coords="223,1343,372,1390"/><area shape="rect" id="node108" href="image_8drush_8inc.html#a2dc93132bd3c21ad6e474a9d6a241722" title="image_image_flush_complete" alt="" coords="200,1413,395,1443"/><area shape="rect" id="node110" href="git__drupalorg_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="212,1467,383,1496"/><area shape="rect" id="node112" href="includes_2drupal_8inc.html#ac194fb53f4e5500f275a2debb0dfc608" title="system_watchdog" alt="" coords="233,1520,361,1549"/><area shape="rect" id="node114" href="test_8drush_8inc.html#a51877c20991275c2f1b3db7ed15aa82e" title="test_test_run_complete" alt="" coords="219,1573,376,1603"/><area shape="rect" id="node116" href="classUnish_1_1releaseInfoCase.html#ac6674cd3b0e5cb2861e3550cf88fd320" title="Unish\\releaseInfoCase\l\\testReleaseXML" alt="" coords="220,1626,375,1673"/><area shape="rect" id="node118" href="update__6_8inc.html#a39592132a77fd791c44a8d6faf362cb0" title="update_check_incompatibility" alt="" coords="201,1696,393,1725"/><area shape="rect" id="node9" href="commands_2pm_2update__info_2drupal_8inc.html#afa1132bbe8f4d56b787a9a93d4971871" title="_pm_get_update_info" alt="" coords="472,128,619,157"/><area shape="rect" id="node13" href="unit_8drush_8inc.html#ae381f2b0e4bd97806103a439b9af1b0c" title="drush_unit_batch" alt="" coords="485,21,605,51"/><area shape="rect" id="node15" href="update_8inc.html#acb7719984816f5c3fcf003a93e8a9947" title="drush_update_batch" alt="" coords="476,75,615,104"/><area shape="rect" id="node11" href="updatestatus_8pm_8inc.html#a3572a412477acf53f0917d723fdfa3d9" title="drush_pm_updatestatus" alt="" coords="717,336,877,365"/><area shape="rect" id="node19" href="core_8drush_8inc.html#abffb38d0c5a78975e70033cb09f57ecb" title="drush_core_batch_process" alt="" coords="456,181,635,211"/><area shape="rect" id="node31" href="info_8pm_8inc.html#a0bf627d419ca89d4d9e5f0f3a54e457d" title="_drush_pm_info_extension" alt="" coords="709,469,885,499"/><area shape="rect" id="node33" href="info_8pm_8inc.html#ad8628d53d40f2db788ec0bec2f9ac62e" title="_drush_pm_info_module" alt="" coords="953,469,1116,499"/><area shape="rect" id="node35" href="info_8pm_8inc.html#a979f36be571c082a364025ae4bce438b" title="drush_pm_info" alt="" coords="1171,785,1277,815"/><area shape="rect" id="node40" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="719,397,876,443"/><area shape="rect" id="node42" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="960,527,1109,556"/><area shape="rect" id="node49" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="947,993,1123,1023"/><area shape="rect" id="node54" href="group__extensions.html#ga293092b949a0837e3208f57ddb837c3c" title="_drush_pm_sort_extensions" alt="" coords="453,1123,637,1152"/><area shape="rect" id="node56" href="group__extensions.html#gad7c908db0c414731d0933c93c4b083ea" title="drush_get_extension\l_status" alt="" coords="475,847,616,894"/><area shape="rect" id="node59" href="pm_8drush_8inc.html#a61ebecaa80b51380169ddd81f751f0df" title="drush_pm_list" alt="" coords="747,856,848,885"/><area shape="rect" id="node62" href="group__extensions.html#ga703ad4f08aba6c5246dad9407119cc17" title="drush_pm_classify_extensions" alt="" coords="697,993,897,1023"/><area shape="rect" id="node74" href="pm_8drush_8inc.html#a5f41049d5b474b8d5bbbe9f161ac1c90" title="_drush_pm_expand_extensions" alt="" coords="443,968,648,997"/><area shape="rect" id="node84" href="group__extensions.html#ga7a2fb27ecd55a327d27d97a59a62c2d6" title="pm_complete_extensions" alt="" coords="460,491,631,520"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af4e4689479142932fa789c5e314d29e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_load_command_engine </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$command</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$engine_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$metadata</em> = <code>array()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Selects and loads an engine implementing the given type.</p>
<p>Loaded engines are stored as a context. </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00146">146</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="includes_2drupal_8inc_source.html#l00077">drush_drupal_major_version()</a>, <a class="el" href="engines_8inc_source.html#l00134">drush_get_command_engine_config()</a>, <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, <a class="el" href="engines_8inc_source.html#l00057">drush_get_engines()</a>, <a class="el" href="engines_8inc_source.html#l00382">drush_get_user_selected_engine()</a>, <a class="el" href="engines_8inc_source.html#l00420">drush_load_engine()</a>, <a class="el" href="drush_8inc_source.html#l01413">drush_log()</a>, <a class="el" href="context_8inc_source.html#l00293">drush_set_context()</a>, <a class="el" href="engines_8inc_source.html#l00514">drush_set_engine()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="engines_8inc_source.html#l00119">drush_load_command_engines()</a>, and <a class="el" href="outputformat_8drush_8inc_source.html#l00019">drush_set_default_outputformat()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_af4e4689479142932fa789c5e314d29e9_cgraph.png" border="0" usemap="#engines_8inc_af4e4689479142932fa789c5e314d29e9_cgraph" alt=""/></div>
<map name="engines_8inc_af4e4689479142932fa789c5e314d29e9_cgraph" id="engines_8inc_af4e4689479142932fa789c5e314d29e9_cgraph">
<area shape="rect" id="node3" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1127,143,1260,190"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1575,476,1703,505"/><area shape="rect" id="node11" href="engines_8inc.html#a316fd3a909b19c6b88ce4ffc521756da" title="drush_get_command_engine\l_config" alt="" coords="204,797,391,843"/><area shape="rect" id="node14" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="672,364,803,393"/><area shape="rect" id="node32" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1155,552,1232,581"/><area shape="rect" id="node36" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="939,187,976,216"/><area shape="rect" id="node39" href="engines_8inc.html#afc75f35fe69601eee5e1c11a303dbbd0" title="drush_get_user_selected\l_engine" alt="" coords="215,677,380,723"/><area shape="rect" id="node48" href="engines_8inc.html#af360562cce71af9828bbbb7326b1d7a8" title="drush_load_engine" alt="" coords="232,393,363,423"/><area shape="rect" id="node65" href="engines_8inc.html#a1eb2ea4e50529f3c7953f419956ce51a" title="drush_set_engine" alt="" coords="465,523,588,552"/><area shape="rect" id="node67" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="673,587,801,616"/><area shape="rect" id="node5" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1341,5,1485,35"/><area shape="rect" id="node7" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1541,5,1736,35"/><area shape="rect" id="node16" href="includes_2command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="881,293,1033,323"/><area shape="rect" id="node18" href="includes_2command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="1335,371,1492,400"/><area shape="rect" id="node21" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="863,397,1052,427"/><area shape="rect" id="node25" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="901,451,1013,480"/><area shape="rect" id="node23" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1103,397,1284,427"/><area shape="rect" id="node29" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1336,501,1491,531"/><area shape="rect" id="node41" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="467,689,587,719"/><area shape="rect" id="node43" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="673,693,801,723"/><area shape="rect" id="node45" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="663,640,812,669"/><area shape="rect" id="node51" href="engines_8inc.html#ac18b04b38c84979a32603cd5cef78c69" title="drush_find_engine_to_use" alt="" coords="440,368,613,397"/><area shape="rect" id="node55" href="commands_2core_2drupal_2environment_8inc.html#a643d851fd8dc63ea2ce8cf67aa33098c" title="drush_module_exists" alt="" coords="455,315,599,344"/><area shape="rect" id="node57" href="engines_8inc.html#a91df31f18b0a1d05540ccaf85e6d9a88" title="drush_include_engine" alt="" coords="453,261,600,291"/><area shape="rect" id="node60" href="drush_8inc.html#a80ce43b30f833522f72180811dab5a3e" title="drush_include" alt="" coords="907,240,1008,269"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_af4e4689479142932fa789c5e314d29e9_icgraph.png" border="0" usemap="#engines_8inc_af4e4689479142932fa789c5e314d29e9_icgraph" alt=""/></div>
<map name="engines_8inc_af4e4689479142932fa789c5e314d29e9_icgraph" id="engines_8inc_af4e4689479142932fa789c5e314d29e9_icgraph">
<area shape="rect" id="node3" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87" title="drush_load_command\l_engines" alt="" coords="231,46,380,93"/><area shape="rect" id="node17" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="203,116,408,145"/><area shape="rect" id="node5" href="group__dispatching.html#ga5db6ec7318291b3692bf905b87a9276b" title="drush_dispatch" alt="" coords="476,55,585,84"/><area shape="rect" id="node7" href="topic_8drush_8inc.html#ae8a604f9b99910a82bc193b3d11490cc" title="drush_topic_core_topic" alt="" coords="655,5,809,35"/><area shape="rect" id="node9" href="group__dispatching.html#gad45b0ad6ccdc34ebb10d38d5c2d6a1d1" title="drush_invoke" alt="" coords="683,59,781,88"/><area shape="rect" id="node11" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="860,5,1025,35"/><area shape="rect" id="node13" href="pm_8drush_8inc.html#a53ddf8818f1813dcb0a833a64c75d318" title="drush_pm_update" alt="" coords="880,59,1005,88"/><area shape="rect" id="node15" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="867,112,1019,141"/><area shape="rect" id="node19" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="457,107,604,154"/><area shape="rect" id="node23" href="views_8d8_8drush_8inc.html#aeb32a75a48c4c084de58193c6d8cfca2" title="drush_views_execute" alt="" coords="457,177,604,207"/><area shape="rect" id="node21" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="661,116,803,145"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a04e206fccfe9fe74aacda617336f5b87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_load_command_engines </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$command</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Include, instantiate and validate command engines.</p>
<dl class="section return"><dt>Returns</dt><dd>FALSE if a engine doesn't validate. </dd></dl>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00119">119</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="engines_8inc_source.html#l00146">drush_load_command_engine()</a>.</p>

<p>Referenced by <a class="el" href="includes_2command_8inc_source.html#l00148">drush_dispatch()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a04e206fccfe9fe74aacda617336f5b87_cgraph.png" border="0" usemap="#engines_8inc_a04e206fccfe9fe74aacda617336f5b87_cgraph" alt=""/></div>
<map name="engines_8inc_a04e206fccfe9fe74aacda617336f5b87_cgraph" id="engines_8inc_a04e206fccfe9fe74aacda617336f5b87_cgraph">
<area shape="rect" id="node3" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="203,541,352,587"/><area shape="rect" id="node5" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1324,143,1457,190"/><area shape="rect" id="node11" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1772,476,1900,505"/><area shape="rect" id="node13" href="engines_8inc.html#a316fd3a909b19c6b88ce4ffc521756da" title="drush_get_command_engine\l_config" alt="" coords="401,797,588,843"/><area shape="rect" id="node16" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="869,364,1000,393"/><area shape="rect" id="node34" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="1352,552,1429,581"/><area shape="rect" id="node38" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1136,187,1173,216"/><area shape="rect" id="node41" href="engines_8inc.html#afc75f35fe69601eee5e1c11a303dbbd0" title="drush_get_user_selected\l_engine" alt="" coords="412,677,577,723"/><area shape="rect" id="node50" href="engines_8inc.html#af360562cce71af9828bbbb7326b1d7a8" title="drush_load_engine" alt="" coords="429,393,560,423"/><area shape="rect" id="node67" href="engines_8inc.html#a1eb2ea4e50529f3c7953f419956ce51a" title="drush_set_engine" alt="" coords="663,523,785,552"/><area shape="rect" id="node69" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="871,587,999,616"/><area shape="rect" id="node7" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1539,5,1683,35"/><area shape="rect" id="node9" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1739,5,1933,35"/><area shape="rect" id="node18" href="includes_2command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="1079,293,1231,323"/><area shape="rect" id="node20" href="includes_2command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="1532,371,1689,400"/><area shape="rect" id="node23" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="1060,397,1249,427"/><area shape="rect" id="node27" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1099,451,1211,480"/><area shape="rect" id="node25" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1300,397,1481,427"/><area shape="rect" id="node31" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1533,501,1688,531"/><area shape="rect" id="node43" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="664,689,784,719"/><area shape="rect" id="node45" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="871,693,999,723"/><area shape="rect" id="node47" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="860,640,1009,669"/><area shape="rect" id="node53" href="engines_8inc.html#ac18b04b38c84979a32603cd5cef78c69" title="drush_find_engine_to_use" alt="" coords="637,368,811,397"/><area shape="rect" id="node57" href="commands_2core_2drupal_2environment_8inc.html#a643d851fd8dc63ea2ce8cf67aa33098c" title="drush_module_exists" alt="" coords="652,315,796,344"/><area shape="rect" id="node59" href="engines_8inc.html#a91df31f18b0a1d05540ccaf85e6d9a88" title="drush_include_engine" alt="" coords="651,261,797,291"/><area shape="rect" id="node62" href="drush_8inc.html#a80ce43b30f833522f72180811dab5a3e" title="drush_include" alt="" coords="1104,240,1205,269"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a04e206fccfe9fe74aacda617336f5b87_icgraph.png" border="0" usemap="#engines_8inc_a04e206fccfe9fe74aacda617336f5b87_icgraph" alt=""/></div>
<map name="engines_8inc_a04e206fccfe9fe74aacda617336f5b87_icgraph" id="engines_8inc_a04e206fccfe9fe74aacda617336f5b87_icgraph">
<area shape="rect" id="node3" href="group__dispatching.html#ga5db6ec7318291b3692bf905b87a9276b" title="drush_dispatch" alt="" coords="204,32,313,61"/><area shape="rect" id="node5" href="topic_8drush_8inc.html#ae8a604f9b99910a82bc193b3d11490cc" title="drush_topic_core_topic" alt="" coords="364,5,519,35"/><area shape="rect" id="node7" href="group__dispatching.html#gad45b0ad6ccdc34ebb10d38d5c2d6a1d1" title="drush_invoke" alt="" coords="392,59,491,88"/><area shape="rect" id="node9" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="569,5,735,35"/><area shape="rect" id="node11" href="pm_8drush_8inc.html#a53ddf8818f1813dcb0a833a64c75d318" title="drush_pm_update" alt="" coords="589,59,715,88"/><area shape="rect" id="node13" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="576,112,728,141"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af360562cce71af9828bbbb7326b1d7a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_load_engine </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$engine</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$version</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$path</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$engine_config</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Loads and validate an engine of the given type. </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00420">420</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="engines_8inc_source.html#l00407">drush_find_engine_to_use()</a>, <a class="el" href="engines_8inc_source.html#l00057">drush_get_engines()</a>, <a class="el" href="engines_8inc_source.html#l00479">drush_include_engine()</a>, <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00136">drush_module_exists()</a>, <a class="el" href="engines_8inc_source.html#l00514">drush_set_engine()</a>, <a class="el" href="drush_8inc_source.html#l01723">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="output_8inc_source.html#l00097">drush_format()</a>, <a class="el" href="includes_2command_8inc_source.html#l00448">drush_handle_command_output()</a>, <a class="el" href="engines_8inc_source.html#l00146">drush_load_command_engine()</a>, and <a class="el" href="drush_8inc_source.html#l01079">drush_preflight_command_dispatch()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_af360562cce71af9828bbbb7326b1d7a8_cgraph.png" border="0" usemap="#engines_8inc_af360562cce71af9828bbbb7326b1d7a8_cgraph" alt=""/></div>
<map name="engines_8inc_af360562cce71af9828bbbb7326b1d7a8_cgraph" id="engines_8inc_af360562cce71af9828bbbb7326b1d7a8_cgraph">
<area shape="rect" id="node3" href="engines_8inc.html#ac18b04b38c84979a32603cd5cef78c69" title="drush_find_engine_to_use" alt="" coords="184,5,357,35"/><area shape="rect" id="node5" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="405,213,536,243"/><area shape="rect" id="node17" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="624,111,736,140"/><area shape="rect" id="node28" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="661,321,699,351"/><area shape="rect" id="node37" href="engines_8inc.html#a91df31f18b0a1d05540ccaf85e6d9a88" title="drush_include_engine" alt="" coords="197,240,344,269"/><area shape="rect" id="node45" href="commands_2core_2drupal_2environment_8inc.html#a643d851fd8dc63ea2ce8cf67aa33098c" title="drush_module_exists" alt="" coords="199,421,343,451"/><area shape="rect" id="node47" href="engines_8inc.html#a1eb2ea4e50529f3c7953f419956ce51a" title="drush_set_engine" alt="" coords="209,59,332,88"/><area shape="rect" id="node7" href="includes_2command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="604,164,756,193"/><area shape="rect" id="node9" href="includes_2command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="1057,244,1215,273"/><area shape="rect" id="node13" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="585,217,775,247"/><area shape="rect" id="node11" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1297,140,1425,169"/><area shape="rect" id="node15" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="825,217,1007,247"/><area shape="rect" id="node21" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1059,165,1213,195"/><area shape="rect" id="node24" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="877,113,955,143"/><area shape="rect" id="node30" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="849,321,983,367"/><area shape="rect" id="node32" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1064,313,1208,343"/><area shape="rect" id="node34" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1264,313,1459,343"/><area shape="rect" id="node40" href="drush_8inc.html#a80ce43b30f833522f72180811dab5a3e" title="drush_include" alt="" coords="420,317,521,347"/><area shape="rect" id="node49" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="407,35,535,64"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_af360562cce71af9828bbbb7326b1d7a8_icgraph.png" border="0" usemap="#engines_8inc_af360562cce71af9828bbbb7326b1d7a8_icgraph" alt=""/></div>
<map name="engines_8inc_af360562cce71af9828bbbb7326b1d7a8_icgraph" id="engines_8inc_af360562cce71af9828bbbb7326b1d7a8_icgraph">
<area shape="rect" id="node3" href="group__outputfunctions.html#ga9949217d2df2776bd355c4a3d50bba79" title="drush_format" alt="" coords="220,212,319,241"/><area shape="rect" id="node23" href="group__dispatching.html#gaec7e84c5668d8e13f33c948659112495" title="drush_handle_command\l_output" alt="" coords="188,434,351,481"/><area shape="rect" id="node29" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="195,503,344,550"/><area shape="rect" id="node53" href="group__commandprocessing.html#gac5fea44d3fe064240192925f864d57a6" title="drush_preflight_command\l_dispatch" alt="" coords="184,591,355,638"/><area shape="rect" id="node5" href="field_8drush_8inc.html#a62c877acd4e998705c2c41a8c0b59830" title="_drush_field_info_process_cell" alt="" coords="405,5,605,35"/><area shape="rect" id="node7" href="outputformat_8drush_8inc.html#a5322ccb6b5616adf4bb2e959e42a214c" title="outputformat_drush\l_engine_topic_additional_text" alt="" coords="409,58,601,105"/><area shape="rect" id="node9" href="views_8d8_8drush_8inc.html#a5bef08605d0fc2679d2fcbc7a00aecc9" title="drush_views_analyze" alt="" coords="432,128,579,157"/><area shape="rect" id="node11" href="group__outputfunctions.html#ga9bc1481d5e22b78b7fa386ff2d88b3a2" title="drush_print_format" alt="" coords="440,181,571,211"/><area shape="rect" id="node13" href="group__outputfunctions.html#ga0305cbdc9e5419a9a3a93dad342eb499" title="drush_key_value_to\l_array_table" alt="" coords="436,234,575,281"/><area shape="rect" id="node19" href="group__outputfunctions.html#gae21dcb7f9594eefec94104dbe7cede09" title="drush_rows_of_key_value\l_to_array_table" alt="" coords="419,303,592,350"/><area shape="rect" id="node21" href="classUnish_1_1outputFormatUnitCase.html#a05a4cc3b83f8c8d48121fe7a508ebda2" title="Unish\\outputFormatUnitCase\l\\testOutputFormat" alt="" coords="409,373,601,419"/><area shape="rect" id="node15" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="663,243,799,272"/><area shape="rect" id="node17" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="869,243,995,272"/><area shape="rect" id="node25" href="group__dispatching.html#gac0d79cc522d6f5cecf9f72ecc5ecceb8" title="_drush_invoke_hooks" alt="" coords="432,443,579,472"/><area shape="rect" id="node27" href="group__dispatching.html#gae7a7f1f4b8c5edffbc2ececc6638698a" title="drush_command" alt="" coords="672,443,789,472"/><area shape="rect" id="node31" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87" title="drush_load_command\l_engines" alt="" coords="431,495,580,542"/><area shape="rect" id="node45" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="403,565,608,595"/><area shape="rect" id="node33" href="group__dispatching.html#ga5db6ec7318291b3692bf905b87a9276b" title="drush_dispatch" alt="" coords="676,504,785,533"/><area shape="rect" id="node35" href="topic_8drush_8inc.html#ae8a604f9b99910a82bc193b3d11490cc" title="drush_topic_core_topic" alt="" coords="855,455,1009,484"/><area shape="rect" id="node37" href="group__dispatching.html#gad45b0ad6ccdc34ebb10d38d5c2d6a1d1" title="drush_invoke" alt="" coords="883,508,981,537"/><area shape="rect" id="node39" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="1060,455,1225,484"/><area shape="rect" id="node41" href="pm_8drush_8inc.html#a53ddf8818f1813dcb0a833a64c75d318" title="drush_pm_update" alt="" coords="1080,508,1205,537"/><area shape="rect" id="node43" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1067,561,1219,591"/><area shape="rect" id="node47" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="657,557,804,603"/><area shape="rect" id="node51" href="views_8d8_8drush_8inc.html#aeb32a75a48c4c084de58193c6d8cfca2" title="drush_views_execute" alt="" coords="657,627,804,656"/><area shape="rect" id="node49" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="861,565,1003,595"/><area shape="rect" id="node55" href="drush_8php.html#a2b642d2bbf815b6d80c315fd66b37381" title="drush_main" alt="" coords="461,619,549,648"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a04ee0e7019029ef27bc4e8f14341b2b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_merge_engine_data </td>
          <td>(</td>
          <td class="paramtype">&amp;&#160;</td>
          <td class="paramname"><em>$command</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add command structure info from each engine type back into the command. </p>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00173">173</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="engines_8inc_source.html#l00407">drush_find_engine_to_use()</a>, <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, <a class="el" href="engines_8inc_source.html#l00013">drush_get_engine_types_info()</a>, <a class="el" href="engines_8inc_source.html#l00057">drush_get_engines()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="includes_2command_8inc_source.html#l00973">drush_get_commands()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a04ee0e7019029ef27bc4e8f14341b2b4_cgraph.png" border="0" usemap="#engines_8inc_a04ee0e7019029ef27bc4e8f14341b2b4_cgraph" alt=""/></div>
<map name="engines_8inc_a04ee0e7019029ef27bc4e8f14341b2b4_cgraph" id="engines_8inc_a04ee0e7019029ef27bc4e8f14341b2b4_cgraph">
<area shape="rect" id="node3" href="engines_8inc.html#ac18b04b38c84979a32603cd5cef78c69" title="drush_find_engine_to_use" alt="" coords="229,5,403,35"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1164,239,1292,268"/><area shape="rect" id="node7" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="452,109,641,139"/><area shape="rect" id="node11" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="251,189,381,219"/><area shape="rect" id="node30" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="528,368,565,397"/><area shape="rect" id="node9" href="includes_2command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="692,109,873,139"/><area shape="rect" id="node13" href="includes_2command_8inc.html#a2ce77284c0002dda3a5d0527e583e017" title="drush_command_hook" alt="" coords="471,163,623,192"/><area shape="rect" id="node15" href="includes_2command_8inc.html#ad51d79509a4a134947703f3e58564444" title="drush_commandfile_list" alt="" coords="924,317,1081,347"/><area shape="rect" id="node19" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="491,216,603,245"/><area shape="rect" id="node23" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="925,264,1080,293"/><area shape="rect" id="node26" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="744,213,821,243"/><area shape="rect" id="node32" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="716,367,849,414"/><area shape="rect" id="node34" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="931,373,1075,403"/><area shape="rect" id="node36" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="1131,373,1325,403"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a04ee0e7019029ef27bc4e8f14341b2b4_icgraph.png" border="0" usemap="#engines_8inc_a04ee0e7019029ef27bc4e8f14341b2b4_icgraph" alt=""/></div>
<map name="engines_8inc_a04ee0e7019029ef27bc4e8f14341b2b4_icgraph" id="engines_8inc_a04ee0e7019029ef27bc4e8f14341b2b4_icgraph">
<area shape="rect" id="node3" href="includes_2command_8inc.html#af0c377881e5c9c772f0cad80ea016452" title="drush_get_commands" alt="" coords="231,903,380,932"/><area shape="rect" id="node5" href="group__dispatching.html#ga1e55a13b320525b6871dacc7265bf5a7" title="_drush_verify_cli_options" alt="" coords="456,129,624,159"/><area shape="rect" id="node9" href="topic_8drush_8inc.html#ae8a604f9b99910a82bc193b3d11490cc" title="drush_topic_core_topic" alt="" coords="976,85,1131,115"/><area shape="rect" id="node11" href="group__dispatching.html#gad45b0ad6ccdc34ebb10d38d5c2d6a1d1" title="drush_invoke" alt="" coords="1004,32,1103,61"/><area shape="rect" id="node19" href="core_8drush_8inc.html#aa42bc0fdfeb8d31d452fd1b9602d3cf9" title="core_help_complete" alt="" coords="471,597,609,627"/><area shape="rect" id="node21" href="lib_2Drush_2Boot_2bootstrap_8inc.html#a504cc0d2dfbfa276957c1e02c8f8c900" title="drush_bootstrap" alt="" coords="483,756,597,785"/><area shape="rect" id="node66" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="975,1141,1132,1171"/><area shape="rect" id="node70" href="complete_8inc.html#a4bbb8faee318ca6f3b8d70710d0406ba" title="drush_complete_rebuild\l_arguments" alt="" coords="975,1194,1132,1241"/><area shape="rect" id="node77" href="includes_2command_8inc.html#ada5bfda5bb64c19886f7253e30a58de2" title="drush_command_normalize_name" alt="" coords="431,1008,649,1037"/><area shape="rect" id="node83" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="461,955,619,984"/><area shape="rect" id="node85" href="outputformat_8drush_8inc.html#a4a9cc3871032fba8891b665d2606dcc0" title="drush_get_command_format\l_metadata" alt="" coords="447,1167,633,1214"/><area shape="rect" id="node89" href="topic_8drush_8inc.html#a6565f0ae92a81e15b374bf7a4147362b" title="drush_get_topics" alt="" coords="480,651,600,680"/><area shape="rect" id="node95" href="includes_2command_8inc.html#a727745c7eb5e69dedd5587146c0d0d98" title="drush_is_command" alt="" coords="473,1115,607,1144"/><area shape="rect" id="node97" href="includes_2command_8inc.html#aaf301462cb45c0da60e79ea868323858" title="drush_parse_command" alt="" coords="461,1061,619,1091"/><area shape="rect" id="node105" href="classUnish_1_1commandUnitCase.html#a9085a0c27da209ad9697b7b0bd74adac" title="Unish\\commandUnitCase\l\\testGetCommands" alt="" coords="455,1237,625,1283"/><area shape="rect" id="node107" href="topic_8drush_8inc.html#a344ae16f10767b01599d5a0d4ee711e3" title="topic_drush_help_alter" alt="" coords="464,1307,616,1336"/><area shape="rect" id="node7" href="group__dispatching.html#ga5db6ec7318291b3692bf905b87a9276b" title="drush_dispatch" alt="" coords="748,85,857,115"/><area shape="rect" id="node13" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="1201,129,1367,159"/><area shape="rect" id="node15" href="pm_8drush_8inc.html#a53ddf8818f1813dcb0a833a64c75d318" title="drush_pm_update" alt="" coords="1221,59,1347,88"/><area shape="rect" id="node17" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1208,5,1360,35"/><area shape="rect" id="node23" href="image_8drush_8inc.html#a2dc93132bd3c21ad6e474a9d6a241722" title="image_image_flush_complete" alt="" coords="705,725,900,755"/><area shape="rect" id="node25" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="735,778,871,825"/><area shape="rect" id="node27" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="993,1264,1113,1293"/><area shape="rect" id="node29" href="lib_2Drush_2Boot_2bootstrap_8inc.html#a9873ccab1bddcd37adaac3403dd37d60" title="drush_bootstrap_to\l_phase" alt="" coords="987,138,1120,185"/><area shape="rect" id="node34" href="lib_2Drush_2Boot_2bootstrap_8inc.html#adb325e52092d83c685acdee827af1085" title="drush_bootstrap_max" alt="" coords="729,672,876,701"/><area shape="rect" id="node32" href="core_8drush_8inc.html#a9a3c48f1649db4b3c008b11258cdcce5" title="_drush_core_directory" alt="" coords="1209,521,1359,551"/><area shape="rect" id="node36" href="config_8drush_8inc.html#a49e0e252235dd709f7151231cf13519e" title="_drush_config_directories\l_complete" alt="" coords="968,261,1139,307"/><area shape="rect" id="node38" href="config_8drush_8inc.html#af1d1bf8c1e046236ed8df0712af62ff9" title="_drush_config_names\l_complete" alt="" coords="979,330,1128,377"/><area shape="rect" id="node40" href="core_8drush_8inc.html#acb8d761c0357c377a517a7336c1e4352" title="core_site_install_complete" alt="" coords="965,400,1141,429"/><area shape="rect" id="node42" href="field_8drush_8inc.html#a3b9c0d18418e620dd2561341c5daf350" title="field_field_create\l_complete" alt="" coords="993,453,1113,499"/><area shape="rect" id="node44" href="field_8drush_8inc.html#a4c1167a0ddfcac9e81383991832d77c5" title="field_field_complete\l_field_names" alt="" coords="985,522,1121,569"/><area shape="rect" id="node46" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="983,592,1124,621"/><area shape="rect" id="node48" href="test_8drush_8inc.html#a51877c20991275c2f1b3db7ed15aa82e" title="test_test_run_complete" alt="" coords="975,645,1132,675"/><area shape="rect" id="node50" href="views_8d8_8drush_8inc.html#ac8dc95a391ef2a77ddaac1e9522086dd" title="_drush_views_complete" alt="" coords="972,699,1135,728"/><area shape="rect" id="node52" href="group__extensions.html#ga7a2fb27ecd55a327d27d97a59a62c2d6" title="pm_complete_extensions" alt="" coords="968,752,1139,781"/><area shape="rect" id="node54" href="group__extensions.html#gaea366ba3a9ac9138d35dc9e3523b47ea" title="pm_complete_projects" alt="" coords="977,805,1129,835"/><area shape="rect" id="node56" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="980,912,1127,941"/><area shape="rect" id="node58" href="sql_8drush_8inc.html#ab13f76971fb460582134a678eaec114c" title="drush_sql_bootstrap\l_database_configuration" alt="" coords="972,965,1135,1011"/><area shape="rect" id="node60" href="sql_8drush_8inc.html#a05194b55585f4faf2836070d11e55df5" title="drush_sql_query" alt="" coords="995,1035,1112,1064"/><area shape="rect" id="node62" href="sql_8drush_8inc.html#a9e45958fb554a3f6049ee18c857207af" title="drush_sql_sanitize" alt="" coords="988,1088,1119,1117"/><area shape="rect" id="node64" href="group__hooks.html#ga84e8d0c2085eaf4dd3b0fdc0084a1fcf" title="drush_COMMAND_init" alt="" coords="976,208,1131,237"/><area shape="rect" id="node73" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="955,859,1152,888"/><area shape="rect" id="node68" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="1215,1172,1353,1201"/><area shape="rect" id="node79" href="includes_2command_8inc.html#aed341ec21a59c794b73f7ba031825632" title="drush_command_get_command\l_specific_options" alt="" coords="700,999,905,1046"/><area shape="rect" id="node87" href="core_8drush_8inc.html#aa7e3d1ac48eb92dab34abeb42f84cd3f" title="drush_core_status" alt="" coords="739,1208,867,1237"/><area shape="rect" id="node92" href="topic_8drush_8inc.html#aeb0d8445f69455eb3eebf375b0dbfd50" title="topic_core_topic_complete" alt="" coords="715,568,891,597"/><area shape="rect" id="node99" href="group__commandprocessing.html#gac5fea44d3fe064240192925f864d57a6" title="drush_preflight_command\l_dispatch" alt="" coords="717,1069,888,1115"/><area shape="rect" id="node101" href="group__dispatching.html#ga9b1a98376983ee529fc868ef4280b12d" title="drush_redispatch_get\l_options" alt="" coords="729,1138,876,1185"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1eb2ea4e50529f3c7953f419956ce51a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_set_engine </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$instance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Called by the Drush command (</p>
<dl class="section see"><dt>See Also</dt><dd>_drush_load_command_engines()) to cache the active engine instance. </dd></dl>

<p>Definition at line <a class="el" href="engines_8inc_source.html#l00514">514</a> of file <a class="el" href="engines_8inc_source.html">engines.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00293">drush_set_context()</a>.</p>

<p>Referenced by <a class="el" href="engines_8inc_source.html#l00146">drush_load_command_engine()</a>, and <a class="el" href="engines_8inc_source.html#l00420">drush_load_engine()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a1eb2ea4e50529f3c7953f419956ce51a_cgraph.png" border="0" usemap="#engines_8inc_a1eb2ea4e50529f3c7953f419956ce51a_cgraph" alt=""/></div>
<map name="engines_8inc_a1eb2ea4e50529f3c7953f419956ce51a_cgraph" id="engines_8inc_a1eb2ea4e50529f3c7953f419956ce51a_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="180,5,308,35"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="359,5,487,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="engines_8inc_a1eb2ea4e50529f3c7953f419956ce51a_icgraph.png" border="0" usemap="#engines_8inc_a1eb2ea4e50529f3c7953f419956ce51a_icgraph" alt=""/></div>
<map name="engines_8inc_a1eb2ea4e50529f3c7953f419956ce51a_icgraph" id="engines_8inc_a1eb2ea4e50529f3c7953f419956ce51a_icgraph">
<area shape="rect" id="node3" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="368,191,517,238"/><area shape="rect" id="node27" href="engines_8inc.html#af360562cce71af9828bbbb7326b1d7a8" title="drush_load_engine" alt="" coords="179,345,309,375"/><area shape="rect" id="node5" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87" title="drush_load_command\l_engines" alt="" coords="604,46,753,93"/><area shape="rect" id="node19" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="576,116,781,145"/><area shape="rect" id="node7" href="group__dispatching.html#ga5db6ec7318291b3692bf905b87a9276b" title="drush_dispatch" alt="" coords="849,55,959,84"/><area shape="rect" id="node9" href="topic_8drush_8inc.html#ae8a604f9b99910a82bc193b3d11490cc" title="drush_topic_core_topic" alt="" coords="1028,5,1183,35"/><area shape="rect" id="node11" href="group__dispatching.html#gad45b0ad6ccdc34ebb10d38d5c2d6a1d1" title="drush_invoke" alt="" coords="1056,59,1155,88"/><area shape="rect" id="node13" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="1233,5,1399,35"/><area shape="rect" id="node15" href="pm_8drush_8inc.html#a53ddf8818f1813dcb0a833a64c75d318" title="drush_pm_update" alt="" coords="1253,59,1379,88"/><area shape="rect" id="node17" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1240,112,1392,141"/><area shape="rect" id="node21" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="831,107,977,154"/><area shape="rect" id="node25" href="views_8d8_8drush_8inc.html#aeb32a75a48c4c084de58193c6d8cfca2" title="drush_views_execute" alt="" coords="831,177,977,207"/><area shape="rect" id="node23" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="1035,116,1176,145"/><area shape="rect" id="node29" href="group__outputfunctions.html#ga9949217d2df2776bd355c4a3d50bba79" title="drush_format" alt="" coords="393,345,492,375"/><area shape="rect" id="node49" href="group__dispatching.html#gaec7e84c5668d8e13f33c948659112495" title="drush_handle_command\l_output" alt="" coords="361,443,524,490"/><area shape="rect" id="node56" href="group__commandprocessing.html#gac5fea44d3fe064240192925f864d57a6" title="drush_preflight_command\l_dispatch" alt="" coords="357,605,528,651"/><area shape="rect" id="node31" href="field_8drush_8inc.html#a62c877acd4e998705c2c41a8c0b59830" title="_drush_field_info_process_cell" alt="" coords="579,169,779,199"/><area shape="rect" id="node33" href="outputformat_8drush_8inc.html#a5322ccb6b5616adf4bb2e959e42a214c" title="outputformat_drush\l_engine_topic_additional_text" alt="" coords="583,222,775,269"/><area shape="rect" id="node35" href="views_8d8_8drush_8inc.html#a5bef08605d0fc2679d2fcbc7a00aecc9" title="drush_views_analyze" alt="" coords="605,292,752,321"/><area shape="rect" id="node37" href="group__outputfunctions.html#ga9bc1481d5e22b78b7fa386ff2d88b3a2" title="drush_print_format" alt="" coords="613,345,744,375"/><area shape="rect" id="node39" href="group__outputfunctions.html#ga0305cbdc9e5419a9a3a93dad342eb499" title="drush_key_value_to\l_array_table" alt="" coords="609,398,748,445"/><area shape="rect" id="node45" href="group__outputfunctions.html#gae21dcb7f9594eefec94104dbe7cede09" title="drush_rows_of_key_value\l_to_array_table" alt="" coords="592,467,765,514"/><area shape="rect" id="node47" href="classUnish_1_1outputFormatUnitCase.html#a05a4cc3b83f8c8d48121fe7a508ebda2" title="Unish\\outputFormatUnitCase\l\\testOutputFormat" alt="" coords="583,537,775,583"/><area shape="rect" id="node41" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="836,407,972,436"/><area shape="rect" id="node43" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="1043,407,1168,436"/><area shape="rect" id="node51" href="group__dispatching.html#gac0d79cc522d6f5cecf9f72ecc5ecceb8" title="_drush_invoke_hooks" alt="" coords="605,607,752,636"/><area shape="rect" id="node53" href="group__dispatching.html#gae7a7f1f4b8c5edffbc2ececc6638698a" title="drush_command" alt="" coords="845,607,963,636"/><area shape="rect" id="node58" href="drush_8php.html#a2b642d2bbf815b6d80c315fd66b37381" title="drush_main" alt="" coords="635,660,723,689"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 8 2014 09:04:59 for Drush by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>