Drush: commands/core/sitealias.drush.inc File Reference

  1. 7.x doxygen/html/sitealias_8drush_8inc.html
  2. master doxygen/html/sitealias_8drush_8inc.html

Go to the source code of this file.

Functions

 sitealias_drush_help ($section)
 sitealias_drush_command ()
 sitealias_site_alias_complete ()
 sitealias_site_set_complete ()
 _drush_sitealias_alias_list ()
 _drush_sitealias_site_list ()
 _drush_sitealias_all_list ()
 _drush_sitealias_user_specified_list ()
 drush_sitealias_print ()
 _drush_sitealias_prepare_record ($alias_record)
 _drush_sitealias_print_record ($alias_record, $site_alias= '')
 _drush_sitealias_site_dir_to_uri ($site_dir)
 drush_sitealias_site_set_validate ()
 drush_sitealias_site_set ($site= '@none')

Detailed Description

Site alias commands.

See Also
example.drushrc.php for details.

Definition in file sitealias.drush.inc.

Function Documentation

_drush_sitealias_alias_list ( )

Return a list of all site aliases known to drush.

The array key is the site alias name, and the array value is the site specification for the given alias.

Definition at line 98 of file sitealias.drush.inc.

References drush_get_context().

Referenced by _drush_sitealias_all_list().

Here is the call graph for this function:

Here is the caller graph for this function:

_drush_sitealias_all_list ( )

Return the list of all site aliases and all local sites.

Definition at line 129 of file sitealias.drush.inc.

References _drush_sitealias_alias_list(), _drush_sitealias_site_list(), and drush_sitealias_load_all().

Referenced by _drush_sitealias_user_specified_list(), archive_archive_dump_complete(), config_config_pull_complete(), core_core_rsync_complete(), drush_complete_rebuild(), sitealias_site_alias_complete(), and sitealias_site_set_complete().

Here is the call graph for this function:

Here is the caller graph for this function:

_drush_sitealias_prepare_record (   $alias_record)

Given a site alias name, print out a php-syntax representation of it.

Parameters
alias_recordThe name of the site alias to print

Definition at line 208 of file sitealias.drush.inc.

References _drush_sitealias_add_static_defaults(), _drush_sitealias_add_transient_defaults(), drush_get_option(), drush_sitealias_add_db_settings(), drush_sitealias_convert_databases_to_db_url(), and drush_sitealias_resolve_path_references().

Referenced by drush_sitealias_print().

Here is the call graph for this function:

Here is the caller graph for this function:

_drush_sitealias_site_dir_to_uri (   $site_dir)

Use heuristics to attempt to convert from a site directory to a URI. This function should only be used when the URI really is unknown, as the mapping is not perfect.

Parameters
site_dirA directory, such as domain.com.8080.drupal
Returns
string A uri, such as http://domain.com:8080/drupal

Definition at line 302 of file sitealias.drush.inc.

_drush_sitealias_site_list ( )

Return a list of all of the local sites at the current drupal root.

The array key is the site folder name, and the array value is the site specification for that site.

Definition at line 108 of file sitealias.drush.inc.

References drush_get_context(), drush_scan_directory(), and drush_sitealias_uri_to_site_dir().

Referenced by _drush_sitealias_all_list().

Here is the call graph for this function:

Here is the caller graph for this function:

_drush_sitealias_user_specified_list ( )

Return the list of site aliases (remote or local) that the user specified on the command line. If none were specified, then all are returned.

Definition at line 139 of file sitealias.drush.inc.

References _drush_sitealias_all_list(), drush_get_command(), drush_get_option(), drush_set_default_outputformat(), drush_set_error(), drush_sitealias_resolve_sitespecs(), and dt().

Referenced by drush_sitealias_print().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_sitealias_print ( )

Print out the specified site aliases (or else all) using the format specified.

Definition at line 182 of file sitealias.drush.inc.

References _drush_sitealias_prepare_record(), _drush_sitealias_user_specified_list(), and drush_get_option().

Here is the call graph for this function:

drush_sitealias_site_set (   $site = '@none')

Set the DRUPAL_SITE variable by writing it out to a temporary file that we then source for persistent site switching.

Parameters
siteA valid site specification.

Definition at line 350 of file sitealias.drush.inc.

References _drush_sitealias_set_context_by_name(), drush_cwd(), drush_delete_dir(), drush_log(), drush_mkdir(), drush_print(), drush_set_error(), drush_sitealias_get_envar_filename(), drush_sitealias_lookup_alias_by_path(), and dt().

Here is the call graph for this function:

drush_sitealias_site_set_validate ( )

Validation callback for drush site-set.

Definition at line 336 of file sitealias.drush.inc.

References drush_set_error(), and dt().

Here is the call graph for this function:

sitealias_site_alias_complete ( )

Command argument complete callback.

Returns
Array of available site aliases.

Definition at line 78 of file sitealias.drush.inc.

References _drush_sitealias_all_list().

Here is the call graph for this function:

sitealias_site_set_complete ( )

Command argument complete callback.

Returns
Array of available site aliases.

Definition at line 88 of file sitealias.drush.inc.

References _drush_sitealias_all_list().

Here is the call graph for this function:

File

doxygen/html/sitealias_8drush_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: commands/core/sitealias.drush.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="namespaces.html"><span>Namespaces</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><a href="examples.html"><span>Examples</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>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><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_afac61274991793aa7e9133a8f4f291e.html">commands</a></li><li class="navelem"><a class="el" href="dir_5762b63965e3a68a35f77c23b4dd4668.html">core</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">sitealias.drush.inc File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="sitealias_8drush_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:a88558187fcd4b218e3842deb3359fbb8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a88558187fcd4b218e3842deb3359fbb8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>sitealias_drush_help</b> ($section)</td></tr>
<tr class="memitem:a290464972fa838afb651782c7bee1e34"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a290464972fa838afb651782c7bee1e34"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>sitealias_drush_command</b> ()</td></tr>
<tr class="memitem:a111c507228e24bf6aa1bc4e368fcadda"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#a111c507228e24bf6aa1bc4e368fcadda">sitealias_site_alias_complete</a> ()</td></tr>
<tr class="memitem:aa94645cd530207c93d7e11445ceb7651"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#aa94645cd530207c93d7e11445ceb7651">sitealias_site_set_complete</a> ()</td></tr>
<tr class="memitem:ad809b4041656d1dc016b3fdf954ab066"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#ad809b4041656d1dc016b3fdf954ab066">_drush_sitealias_alias_list</a> ()</td></tr>
<tr class="memitem:abc87a944e5c22e954bfed08dcd874e02"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#abc87a944e5c22e954bfed08dcd874e02">_drush_sitealias_site_list</a> ()</td></tr>
<tr class="memitem:ab84f25812ecd477686e6fa349503ed8d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d">_drush_sitealias_all_list</a> ()</td></tr>
<tr class="memitem:abcb2a29ddfe9b3f66120793287c143c2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2">_drush_sitealias_user_specified_list</a> ()</td></tr>
<tr class="memitem:a50bb1ab798f857c144715b783c71c480"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480">drush_sitealias_print</a> ()</td></tr>
<tr class="memitem:ac45445a1d55a51a3d3445884284f86fa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#ac45445a1d55a51a3d3445884284f86fa">_drush_sitealias_prepare_record</a> ($alias_record)</td></tr>
<tr class="memitem:af1c686be5c6a8c26a4920b4e9b16c8bc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1c686be5c6a8c26a4920b4e9b16c8bc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>_drush_sitealias_print_record</b> ($alias_record, $site_alias= '')</td></tr>
<tr class="memitem:abf94b3ad5ced8ae5b07458faa457a5ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#abf94b3ad5ced8ae5b07458faa457a5ae">_drush_sitealias_site_dir_to_uri</a> ($site_dir)</td></tr>
<tr class="memitem:a80c6f0bc5ddf5b7fcf6a611f012d40c5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#a80c6f0bc5ddf5b7fcf6a611f012d40c5">drush_sitealias_site_set_validate</a> ()</td></tr>
<tr class="memitem:a617aa7e74fc3c55cb99263a84e414466"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466">drush_sitealias_site_set</a> ($site= '@none')</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Site alias commands. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="example_8drushrc_8php.html">example.drushrc.php</a> for details. </dd></dl>

<p>Definition in file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>
</div><h2>Function Documentation</h2>
<a class="anchor" id="ad809b4041656d1dc016b3fdf954ab066"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_sitealias_alias_list </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a list of all site aliases known to drush.</p>
<p>The array key is the site alias name, and the array value is the site specification for the given alias. </p>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00098">98</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.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="sitealias_8drush_8inc_source.html#l00129">_drush_sitealias_all_list()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_ad809b4041656d1dc016b3fdf954ab066_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_ad809b4041656d1dc016b3fdf954ab066_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_ad809b4041656d1dc016b3fdf954ab066_cgraph" id="sitealias_8drush_8inc_ad809b4041656d1dc016b3fdf954ab066_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="231,5,359,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="sitealias_8drush_8inc_ad809b4041656d1dc016b3fdf954ab066_icgraph.png" border="0" usemap="#sitealias_8drush_8inc_ad809b4041656d1dc016b3fdf954ab066_icgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_ad809b4041656d1dc016b3fdf954ab066_icgraph" id="sitealias_8drush_8inc_ad809b4041656d1dc016b3fdf954ab066_icgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d" title="_drush_sitealias_all_list" alt="" coords="229,205,389,235"/><area shape="rect" id="node5" href="archive_8drush_8inc.html#a49945bfa5c147d67734c75e001faeeb8" title="archive_archive_dump\l_complete" alt="" coords="451,5,603,51"/><area shape="rect" id="node7" href="config_8drush_8inc.html#a2c3fbeb317e825e8bcb6980feb34d2db" title="config_config_pull\l_complete" alt="" coords="464,74,589,121"/><area shape="rect" id="node9" href="core_8drush_8inc.html#a2a2d7804784871fbbc8b14699d17b79c" title="core_core_rsync_complete" alt="" coords="437,144,616,173"/><area shape="rect" id="node11" href="sitealias_8drush_8inc.html#a111c507228e24bf6aa1bc4e368fcadda" title="sitealias_site_alias\l_complete" alt="" coords="461,197,592,243"/><area shape="rect" id="node13" href="sitealias_8drush_8inc.html#aa94645cd530207c93d7e11445ceb7651" title="sitealias_site_set\l_complete" alt="" coords="465,266,588,313"/><area shape="rect" id="node15" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="453,335,600,382"/><area shape="rect" id="node19" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="448,405,605,435"/><area shape="rect" id="node17" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="664,344,805,373"/><area shape="rect" id="node21" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="665,405,804,435"/><area shape="rect" id="node23" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="853,405,1003,435"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab84f25812ecd477686e6fa349503ed8d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_sitealias_all_list </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return the list of all site aliases and all local sites. </p>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00129">129</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

<p>References <a class="el" href="sitealias_8drush_8inc_source.html#l00098">_drush_sitealias_alias_list()</a>, <a class="el" href="sitealias_8drush_8inc_source.html#l00108">_drush_sitealias_site_list()</a>, and <a class="el" href="sitealias_8inc_source.html#l00515">drush_sitealias_load_all()</a>.</p>

<p>Referenced by <a class="el" href="sitealias_8drush_8inc_source.html#l00139">_drush_sitealias_user_specified_list()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00310">archive_archive_dump_complete()</a>, <a class="el" href="config_8drush_8inc_source.html#l01018">config_config_pull_complete()</a>, <a class="el" href="core_8drush_8inc_source.html#l00396">core_core_rsync_complete()</a>, <a class="el" href="complete_8inc_source.html#l00456">drush_complete_rebuild()</a>, <a class="el" href="sitealias_8drush_8inc_source.html#l00078">sitealias_site_alias_complete()</a>, and <a class="el" href="sitealias_8drush_8inc_source.html#l00088">sitealias_site_set_complete()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_ab84f25812ecd477686e6fa349503ed8d_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_ab84f25812ecd477686e6fa349503ed8d_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_ab84f25812ecd477686e6fa349503ed8d_cgraph" id="sitealias_8drush_8inc_ab84f25812ecd477686e6fa349503ed8d_cgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#ad809b4041656d1dc016b3fdf954ab066" title="_drush_sitealias_alias_list" alt="" coords="423,133,596,163"/><area shape="rect" id="node7" href="sitealias_8drush_8inc.html#abc87a944e5c22e954bfed08dcd874e02" title="_drush_sitealias_site_list" alt="" coords="1072,1252,1240,1281"/><area shape="rect" id="node48" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="213,525,373,555"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="2371,727,2499,756"/><area shape="rect" id="node10" href="group__filesystemfunctions.html#ga1c545390a8890f6ea47385f79fbe2e82" title="drush_scan_directory" alt="" coords="1303,875,1449,904"/><area shape="rect" id="node41" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="1723,1149,1853,1195"/><area shape="rect" id="node12" href="drush_8inc.html#acebe9ed4e4825e6d33ab8dff2157b676" title="drush_op" alt="" coords="1548,875,1623,904"/><area shape="rect" id="node14" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1749,707,1827,736"/><area shape="rect" id="node26" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1769,499,1807,528"/><area shape="rect" id="node39" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="1716,861,1860,907"/><area shape="rect" id="node16" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1960,748,2045,777"/><area shape="rect" id="node19" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="2387,1131,2483,1160"/><area shape="rect" id="node23" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="2141,752,2296,781"/><area shape="rect" id="node21" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="2599,1068,2700,1097"/><area shape="rect" id="node28" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1936,673,2069,719"/><area shape="rect" id="node36" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1933,499,2072,528"/><area shape="rect" id="node30" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="2147,861,2291,891"/><area shape="rect" id="node33" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="2352,1005,2517,1035"/><area shape="rect" id="node43" href="startup_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1939,1100,2067,1129"/><area shape="rect" id="node45" href="includes_2environment_8inc.html#af7dce7594f3c11c6c9c212940c9ba74a" title="drush_site_dir_lookup\l_from_hostname" alt="" coords="2145,1098,2292,1145"/><area shape="rect" id="node50" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="435,517,584,563"/><area shape="rect" id="node117" href="sitealias_8inc.html#ab1ae22d0ad42d924ff0f85154f027885" title="_drush_sitealias_add\l_inherited_values" alt="" coords="437,926,581,973"/><area shape="rect" id="node124" href="context_8inc.html#a16a51c5b09d64e968c3bd7ec414b8846" title="drush_set_config_special\l_contexts" alt="" coords="1919,166,2087,213"/><area shape="rect" id="node52" href="sitealias_8inc.html#a9ccbaf4417b01e474a01db9c985fb103" title="_drush_sitealias_find\l_alias_files" alt="" coords="1084,542,1228,589"/><area shape="rect" id="node75" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="880,347,1008,376"/><area shape="rect" id="node80" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="645,985,816,1031"/><area shape="rect" id="node114" href="sitealias_8inc.html#aa4c589e4cb7f9ac0dad80ff526444c19" title="_sitealias_array_merge" alt="" coords="653,499,808,528"/><area shape="rect" id="node54" href="sitealias_8inc.html#aa052aebdf8f0c0037fb910f8d59577b0" title="drush_sitealias_alias_path" alt="" coords="1289,720,1463,749"/><area shape="rect" id="node68" href="command_8inc.html#a835a66ae60ec33b87f477a6b3dd00547" title="drush_filename_blacklist" alt="" coords="1293,499,1459,528"/><area shape="rect" id="node56" href="sitealias_8inc.html#a9e6067d5c022f5ee598fd0da886931a0" title="drush_sitealias_local\l_site_path" alt="" coords="1515,1149,1656,1195"/><area shape="rect" id="node61" href="sitealias_8inc.html#a03f4ae74a5e4854ac9ffee762cab07f3" title="drush_sitealias_add\l_to_alias_path" alt="" coords="1517,978,1653,1025"/><area shape="rect" id="node64" href="sitealias_8inc.html#a33a83dbbac16251ebe2d9f946056e7e5" title="drush_sitealias_alias\l_base_directory" alt="" coords="1515,653,1656,699"/><area shape="rect" id="node59" href="sitealias_8inc.html#a9f30af3e05fd59449caa884e93ed7b82" title="drush_sitealias_get_root" alt="" coords="1707,1219,1869,1248"/><area shape="rect" id="node70" href="context_8inc.html#ade60e65f76863ed34db22f5e7f83a150" title="drush_get_option_list" alt="" coords="1513,499,1657,528"/><area shape="rect" id="node82" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="1089,1043,1223,1090"/><area shape="rect" id="node97" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="865,1043,1023,1090"/><area shape="rect" id="node100" href="sitealias_8inc.html#a926d838da4c2c24300e7e7461d8079b0" title="drush_sitealias_alias\l_record_to_spec" alt="" coords="1515,1325,1656,1371"/><area shape="rect" id="node108" href="sitealias_8inc.html#a584dc890dc9cace2320ee31a25e25d43" title="_drush_sitealias_find\l_local_sites" alt="" coords="872,865,1016,911"/><area shape="rect" id="node84" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="1305,974,1447,1021"/><area shape="rect" id="node92" href="sitealias_8inc.html#a3f06e1c033d491e01fe2841c08c0cd2e" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="1299,1043,1453,1090"/><area shape="rect" id="node104" href="group__commandwrappers.html#gae0975650ba125212c2666e58729f43cf" title="drush_remote_host" alt="" coords="1721,1341,1855,1371"/><area shape="rect" id="node106" href="sitealias_8inc.html#a6bcaf6211d8387c6f154d6592287cf3f" title="drush_sitealias_add\l_db_url" alt="" coords="1720,1271,1856,1318"/><area shape="rect" id="node110" href="sitealias_8inc.html#a140c677ea9e7c406a24ad323fd6b4af4" title="_drush_find_local_sites\l_at_root" alt="" coords="1077,865,1235,911"/><area shape="rect" id="node119" href="sitealias_8inc.html#aa09f66b610fd6ea9dd4f65fb66582bd2" title="_drush_sitealias_cache\l_alias" alt="" coords="1297,1214,1455,1261"/><area shape="rect" id="node126" href="context_8inc.html#a2082bda0c615dc7163f69851ddd8edaf" title="drush_expand_short\l_form_options" alt="" coords="2149,5,2288,51"/><area shape="rect" id="node128" href="drush_8inc.html#acb0a26e79bcbdd1152d59a6916a35aae" title="drush_get_global_options" alt="" coords="2351,69,2519,99"/><area shape="rect" id="node134" href="command_8inc.html#ad5dd93fad069d6ba73b3546d26855071" title="drush_command_default\l_options" alt="" coords="2137,226,2300,273"/><area shape="rect" id="node130" href="command_8inc.html#a74995cc76034e90a39baee51111b20be" title="drush_command_invoke\l_all_ref" alt="" coords="2568,61,2731,107"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_ab84f25812ecd477686e6fa349503ed8d_icgraph.png" border="0" usemap="#sitealias_8drush_8inc_ab84f25812ecd477686e6fa349503ed8d_icgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_ab84f25812ecd477686e6fa349503ed8d_icgraph" id="sitealias_8drush_8inc_ab84f25812ecd477686e6fa349503ed8d_icgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="229,5,376,51"/><area shape="rect" id="node7" href="archive_8drush_8inc.html#a49945bfa5c147d67734c75e001faeeb8" title="archive_archive_dump\l_complete" alt="" coords="227,74,379,121"/><area shape="rect" id="node9" href="config_8drush_8inc.html#a2c3fbeb317e825e8bcb6980feb34d2db" title="config_config_pull\l_complete" alt="" coords="240,143,365,190"/><area shape="rect" id="node11" href="core_8drush_8inc.html#a2a2d7804784871fbbc8b14699d17b79c" title="core_core_rsync_complete" alt="" coords="213,213,392,243"/><area shape="rect" id="node13" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="224,267,381,296"/><area shape="rect" id="node19" href="sitealias_8drush_8inc.html#a111c507228e24bf6aa1bc4e368fcadda" title="sitealias_site_alias\l_complete" alt="" coords="237,319,368,366"/><area shape="rect" id="node21" href="sitealias_8drush_8inc.html#aa94645cd530207c93d7e11445ceb7651" title="sitealias_site_set\l_complete" alt="" coords="241,389,364,435"/><area shape="rect" id="node5" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="440,13,581,43"/><area shape="rect" id="node15" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="441,267,580,296"/><area shape="rect" id="node17" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="629,267,779,296"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac45445a1d55a51a3d3445884284f86fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_sitealias_prepare_record </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$alias_record</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Given a site alias name, print out a php-syntax representation of it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">alias_record</td><td>The name of the site alias to print </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00208">208</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

<p>References <a class="el" href="sitealias_8inc_source.html#l01256">_drush_sitealias_add_static_defaults()</a>, <a class="el" href="sitealias_8inc_source.html#l01485">_drush_sitealias_add_transient_defaults()</a>, <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="sitealias_8inc_source.html#l00989">drush_sitealias_add_db_settings()</a>, <a class="el" href="sitealias_8inc_source.html#l00908">drush_sitealias_convert_databases_to_db_url()</a>, and <a class="el" href="sitealias_8inc_source.html#l01107">drush_sitealias_resolve_path_references()</a>.</p>

<p>Referenced by <a class="el" href="sitealias_8drush_8inc_source.html#l00182">drush_sitealias_print()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_ac45445a1d55a51a3d3445884284f86fa_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_ac45445a1d55a51a3d3445884284f86fa_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_ac45445a1d55a51a3d3445884284f86fa_cgraph" id="sitealias_8drush_8inc_ac45445a1d55a51a3d3445884284f86fa_cgraph">
<area shape="rect" id="node3" href="sitealias_8inc.html#a1f4c706969fbd0d73d227a52d106b5f4" title="_drush_sitealias_add\l_static_defaults" alt="" coords="1577,111,1721,158"/><area shape="rect" id="node9" href="sitealias_8inc.html#a1d3d9f7c33a390544cc8591fdd156457" title="_drush_sitealias_add\l_transient_defaults" alt="" coords="1577,42,1721,89"/><area shape="rect" id="node25" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1589,768,1709,797"/><area shape="rect" id="node33" href="sitealias_8inc.html#a55b71bb6e4dda1cff7e68ef49331ba6d" title="drush_sitealias_add\l_db_settings" alt="" coords="233,527,369,574"/><area shape="rect" id="node119" href="sitealias_8inc.html#aa15ff47fd0f40a3555eae33a03382125" title="drush_sitealias_convert\l_databases_to_db_url" alt="" coords="223,742,380,789"/><area shape="rect" id="node123" href="sitealias_8inc.html#ac47e3ae7659cedce04c044c53fdb5c37" title="drush_sitealias_resolve\l_path_references" alt="" coords="223,385,380,431"/><area shape="rect" id="node5" href="sitealias_8inc.html#a96a1545df8b70035ba248ae3cb057d06" title="drush_sitealias_convert\l_db_from_db_url" alt="" coords="1779,58,1936,105"/><area shape="rect" id="node7" href="sitealias_8inc.html#a3e5b4e0099b3cf7ad4ec47fac20e4e54" title="drush_convert_db_from\l_db_url" alt="" coords="1988,58,2145,105"/><area shape="rect" id="node11" href="includes_2environment_8inc.html#a032f700f79865fea51e89e5df3230ba7" title="drush_find_drush" alt="" coords="1797,5,1917,35"/><area shape="rect" id="node13" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="1792,181,1923,227"/><area shape="rect" id="node23" href="sitealias_8inc.html#a9f30af3e05fd59449caa884e93ed7b82" title="drush_sitealias_get_root" alt="" coords="1776,128,1939,157"/><area shape="rect" id="node15" href="startup_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="2003,251,2131,280"/><area shape="rect" id="node17" href="includes_2environment_8inc.html#af7dce7594f3c11c6c9c212940c9ba74a" title="drush_site_dir_lookup\l_from_hostname" alt="" coords="1993,181,2140,227"/><area shape="rect" id="node19" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="2195,436,2360,465"/><area shape="rect" id="node21" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="2409,585,2511,615"/><area shape="rect" id="node27" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1793,795,1921,824"/><area shape="rect" id="node29" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1793,925,1921,955"/><area shape="rect" id="node31" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1783,741,1932,771"/><area shape="rect" id="node35" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="433,733,585,763"/><area shape="rect" id="node37" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="640,265,797,311"/><area shape="rect" id="node59" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1155,1176,1232,1205"/><area shape="rect" id="node70" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1175,1072,1212,1101"/><area shape="rect" id="node76" href="sitealias_8inc.html#a0665329c1176b30398fa27ee5cd10423" title="drush_sitealias_simplify\l_names" alt="" coords="639,1019,799,1066"/><area shape="rect" id="node78" href="context_8inc.html#a559008f6decb23108b83e704208e415e" title="drush_get_option_override" alt="" coords="1107,968,1280,997"/><area shape="rect" id="node83" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="641,725,796,771"/><area shape="rect" id="node39" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="1127,274,1260,321"/><area shape="rect" id="node56" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="873,214,1031,261"/><area shape="rect" id="node41" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="1356,279,1497,326"/><area shape="rect" id="node46" href="sitealias_8inc.html#a9e6067d5c022f5ee598fd0da886931a0" title="drush_sitealias_local\l_site_path" alt="" coords="1579,181,1720,227"/><area shape="rect" id="node52" href="sitealias_8inc.html#a3f06e1c033d491e01fe2841c08c0cd2e" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="1349,210,1504,257"/><area shape="rect" id="node61" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1384,1176,1469,1205"/><area shape="rect" id="node64" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="2229,735,2325,764"/><area shape="rect" id="node67" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1572,1124,1727,1153"/><area shape="rect" id="node72" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1360,1055,1493,1102"/><area shape="rect" id="node74" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1357,1003,1496,1032"/><area shape="rect" id="node80" href="context_8inc.html#add3af7aa09b1ccf49718577a8d7aa61d" title="drush_sitealias_get\l_option" alt="" coords="1360,759,1493,806"/><area shape="rect" id="node86" href="backend_8inc.html#a895f14d30af875ea1783a3de2355d095" title="_drush_backend_adjust\l_options" alt="" coords="873,555,1031,602"/><area shape="rect" id="node88" href="backend_8inc.html#aff4e2427168bc7585fcfa5eca6a94af0" title="_drush_backend_get\l_global_contexts" alt="" coords="1356,829,1497,875"/><area shape="rect" id="node92" href="command_8inc.html#aed341ec21a59c794b73f7ba031825632" title="drush_command_get_command\l_specific_options" alt="" coords="849,625,1055,671"/><area shape="rect" id="node94" href="backend_8inc.html#a20dd75d8a0d75a4e59db35c8918d1d8a" title="_drush_backend_classify\l_options" alt="" coords="868,694,1036,741"/><area shape="rect" id="node97" href="group__commandwrappers.html#ga1292121e5bdd4bf19ef4f944b16301ed" title="drush_os" alt="" coords="1156,495,1231,524"/><area shape="rect" id="node100" href="startup_8inc.html#a80f9d7b288b6ae5fd2c7a8377f7d31b9" title="find_wrapper_or_launcher" alt="" coords="867,815,1037,844"/><area shape="rect" id="node102" href="includes_2environment_8inc.html#ac03e907ca57149e27b2e34b186a65797" title="drush_build_drush_command" alt="" coords="1332,899,1521,928"/><area shape="rect" id="node106" href="backend_8inc.html#aa9bff3ffcd61a4dd945b567057a54e5d" title="_drush_backend_generate\l_command" alt="" coords="865,486,1039,533"/><area shape="rect" id="node109" href="backend_8inc.html#ad19c067bfbd87dfc63c55659723aaf60" title="_drush_backend_argument\l_string" alt="" coords="1104,677,1283,723"/><area shape="rect" id="node113" href="backend_8inc.html#a1d3f3caae7e1300c53e2cc1fe4ffb932" title="_drush_backend_invoke" alt="" coords="871,1020,1033,1049"/><area shape="rect" id="node121" href="sitealias_8inc.html#a6f3813ab1752b4a2a698a30777deb3bb" title="drush_sitealias_convert\l_db_spec_to_db_url" alt="" coords="431,786,588,833"/><area shape="rect" id="node125" href="sitealias_8inc.html#a09f500deb9e45e97098a37a4caa374ee" title="drush_sitealias_is\l_bootstrapped_site" alt="" coords="444,210,575,257"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_ac45445a1d55a51a3d3445884284f86fa_icgraph.png" border="0" usemap="#sitealias_8drush_8inc_ac45445a1d55a51a3d3445884284f86fa_icgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_ac45445a1d55a51a3d3445884284f86fa_icgraph" id="sitealias_8drush_8inc_ac45445a1d55a51a3d3445884284f86fa_icgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="221,13,363,43"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abf94b3ad5ced8ae5b07458faa457a5ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_sitealias_site_dir_to_uri </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$site_dir</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Use heuristics to attempt to convert from a site directory to a URI. This function should only be used when the URI really is unknown, as the mapping is not perfect.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">site_dir</td><td>A directory, such as domain.com.8080.drupal</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string A uri, such as <a href="http://domain.com:8080/drupal">http://domain.com:8080/drupal</a> </dd></dl>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00302">302</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

</div>
</div>
<a class="anchor" id="abc87a944e5c22e954bfed08dcd874e02"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_sitealias_site_list </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a list of all of the local sites at the current drupal root.</p>
<p>The array key is the site folder name, and the array value is the site specification for that site. </p>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00108">108</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, <a class="el" href="filesystem_8inc_source.html#l00678">drush_scan_directory()</a>, and <a class="el" href="sitealias_8inc_source.html#l01593">drush_sitealias_uri_to_site_dir()</a>.</p>

<p>Referenced by <a class="el" href="sitealias_8drush_8inc_source.html#l00129">_drush_sitealias_all_list()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_abc87a944e5c22e954bfed08dcd874e02_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_abc87a944e5c22e954bfed08dcd874e02_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_abc87a944e5c22e954bfed08dcd874e02_cgraph" id="sitealias_8drush_8inc_abc87a944e5c22e954bfed08dcd874e02_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1200,92,1328,121"/><area shape="rect" id="node5" href="group__filesystemfunctions.html#ga1c545390a8890f6ea47385f79fbe2e82" title="drush_scan_directory" alt="" coords="221,161,368,191"/><area shape="rect" id="node38" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="229,301,360,347"/><area shape="rect" id="node7" href="drush_8inc.html#acebe9ed4e4825e6d33ab8dff2157b676" title="drush_op" alt="" coords="444,161,519,191"/><area shape="rect" id="node9" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="629,135,707,164"/><area shape="rect" id="node23" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="649,188,687,217"/><area shape="rect" id="node36" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="596,241,740,287"/><area shape="rect" id="node11" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="816,135,901,164"/><area shape="rect" id="node14" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1216,196,1312,225"/><area shape="rect" id="node20" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="977,144,1132,173"/><area shape="rect" id="node16" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1396,223,1497,252"/><area shape="rect" id="node18" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1548,223,1681,252"/><area shape="rect" id="node25" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="792,187,925,234"/><area shape="rect" id="node33" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="789,257,928,287"/><area shape="rect" id="node27" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="983,248,1127,277"/><area shape="rect" id="node30" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="1181,249,1347,279"/><area shape="rect" id="node40" href="startup_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="417,361,545,391"/><area shape="rect" id="node42" href="includes_2environment_8inc.html#af7dce7594f3c11c6c9c212940c9ba74a" title="drush_site_dir_lookup\l_from_hostname" alt="" coords="981,301,1128,347"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_abc87a944e5c22e954bfed08dcd874e02_icgraph.png" border="0" usemap="#sitealias_8drush_8inc_abc87a944e5c22e954bfed08dcd874e02_icgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_abc87a944e5c22e954bfed08dcd874e02_icgraph" id="sitealias_8drush_8inc_abc87a944e5c22e954bfed08dcd874e02_icgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d" title="_drush_sitealias_all_list" alt="" coords="221,213,381,243"/><area shape="rect" id="node5" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="445,5,592,51"/><area shape="rect" id="node9" href="archive_8drush_8inc.html#a49945bfa5c147d67734c75e001faeeb8" title="archive_archive_dump\l_complete" alt="" coords="443,74,595,121"/><area shape="rect" id="node11" href="config_8drush_8inc.html#a2c3fbeb317e825e8bcb6980feb34d2db" title="config_config_pull\l_complete" alt="" coords="456,143,581,190"/><area shape="rect" id="node13" href="core_8drush_8inc.html#a2a2d7804784871fbbc8b14699d17b79c" title="core_core_rsync_complete" alt="" coords="429,213,608,243"/><area shape="rect" id="node15" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="440,267,597,296"/><area shape="rect" id="node21" href="sitealias_8drush_8inc.html#a111c507228e24bf6aa1bc4e368fcadda" title="sitealias_site_alias\l_complete" alt="" coords="453,319,584,366"/><area shape="rect" id="node23" href="sitealias_8drush_8inc.html#aa94645cd530207c93d7e11445ceb7651" title="sitealias_site_set\l_complete" alt="" coords="457,389,580,435"/><area shape="rect" id="node7" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="656,13,797,43"/><area shape="rect" id="node17" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="657,267,796,296"/><area shape="rect" id="node19" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="845,267,995,296"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abcb2a29ddfe9b3f66120793287c143c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_sitealias_user_specified_list </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return the list of site aliases (remote or local) that the user specified on the command line. If none were specified, then all are returned. </p>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00139">139</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

<p>References <a class="el" href="sitealias_8drush_8inc_source.html#l00129">_drush_sitealias_all_list()</a>, <a class="el" href="context_8inc_source.html#l00387">drush_get_command()</a>, <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="outputformat_8drush_8inc_source.html#l00019">drush_set_default_outputformat()</a>, <a class="el" href="drush_8inc_source.html#l01525">drush_set_error()</a>, <a class="el" href="sitealias_8inc_source.html#l00142">drush_sitealias_resolve_sitespecs()</a>, and <a class="el" href="output_8inc_source.html#l00149">dt()</a>.</p>

<p>Referenced by <a class="el" href="sitealias_8drush_8inc_source.html#l00182">drush_sitealias_print()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_abcb2a29ddfe9b3f66120793287c143c2_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_abcb2a29ddfe9b3f66120793287c143c2_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_abcb2a29ddfe9b3f66120793287c143c2_cgraph" id="sitealias_8drush_8inc_abcb2a29ddfe9b3f66120793287c143c2_cgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d" title="_drush_sitealias_all_list" alt="" coords="203,574,363,603"/><area shape="rect" id="node24" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1620,581,1657,610"/><area shape="rect" id="node95" href="context_8inc.html#a8fc57227375a540fea5314b154576354" title="drush_get_command" alt="" coords="668,1146,809,1175"/><area shape="rect" id="node98" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1343,1415,1463,1445"/><area shape="rect" id="node105" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="411,1035,616,1065"/><area shape="rect" id="node120" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1347,834,1459,863"/><area shape="rect" id="node144" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="877,1535,1035,1581"/><area shape="rect" id="node5" href="sitealias_8drush_8inc.html#ad809b4041656d1dc016b3fdf954ab066" title="_drush_sitealias_alias_list" alt="" coords="427,303,600,333"/><area shape="rect" id="node9" href="sitealias_8drush_8inc.html#abc87a944e5c22e954bfed08dcd874e02" title="_drush_sitealias_site_list" alt="" coords="872,621,1040,650"/><area shape="rect" id="node40" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="433,535,593,565"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="2232,683,2360,713"/><area shape="rect" id="node12" href="group__filesystemfunctions.html#ga1c545390a8890f6ea47385f79fbe2e82" title="drush_scan_directory" alt="" coords="1105,429,1252,458"/><area shape="rect" id="node34" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="2015,1487,2145,1533"/><area shape="rect" id="node14" href="drush_8inc.html#acebe9ed4e4825e6d33ab8dff2157b676" title="drush_op" alt="" coords="1365,378,1440,407"/><area shape="rect" id="node16" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1600,351,1677,381"/><area shape="rect" id="node18" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1821,425,1907,454"/><area shape="rect" id="node21" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="2003,477,2157,506"/><area shape="rect" id="node26" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1797,785,1931,832"/><area shape="rect" id="node31" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1795,581,1933,610"/><area shape="rect" id="node28" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="2008,790,2152,819"/><area shape="rect" id="node36" href="startup_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="2232,1555,2360,1585"/><area shape="rect" id="node38" href="includes_2environment_8inc.html#af7dce7594f3c11c6c9c212940c9ba74a" title="drush_site_dir_lookup\l_from_hostname" alt="" coords="2223,1485,2369,1532"/><area shape="rect" id="node42" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="664,523,813,569"/><area shape="rect" id="node78" href="sitealias_8inc.html#ab1ae22d0ad42d924ff0f85154f027885" title="_drush_sitealias_add\l_inherited_values" alt="" coords="667,1076,811,1123"/><area shape="rect" id="node84" href="context_8inc.html#a16a51c5b09d64e968c3bd7ec414b8846" title="drush_set_config_special\l_contexts" alt="" coords="1780,124,1948,171"/><area shape="rect" id="node44" href="sitealias_8inc.html#a9ccbaf4417b01e474a01db9c985fb103" title="_drush_sitealias_find\l_alias_files" alt="" coords="884,317,1028,364"/><area shape="rect" id="node49" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1339,1093,1467,1122"/><area shape="rect" id="node54" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="871,1465,1041,1512"/><area shape="rect" id="node75" href="sitealias_8inc.html#aa4c589e4cb7f9ac0dad80ff526444c19" title="_sitealias_array_merge" alt="" coords="879,387,1033,417"/><area shape="rect" id="node56" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="1336,1532,1469,1579"/><area shape="rect" id="node72" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="1100,1525,1257,1572"/><area shape="rect" id="node58" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="1568,1540,1709,1587"/><area shape="rect" id="node63" href="sitealias_8inc.html#a9e6067d5c022f5ee598fd0da886931a0" title="drush_sitealias_local\l_site_path" alt="" coords="1793,1367,1935,1413"/><area shape="rect" id="node67" href="sitealias_8inc.html#a3f06e1c033d491e01fe2841c08c0cd2e" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="1561,1367,1716,1413"/><area shape="rect" id="node80" href="sitealias_8inc.html#aa09f66b610fd6ea9dd4f65fb66582bd2" title="_drush_sitealias_cache\l_alias" alt="" coords="1560,1143,1717,1189"/><area shape="rect" id="node86" href="context_8inc.html#a2082bda0c615dc7163f69851ddd8edaf" title="drush_expand_short\l_form_options" alt="" coords="2011,64,2149,111"/><area shape="rect" id="node88" href="drush_8inc.html#acb0a26e79bcbdd1152d59a6916a35aae" title="drush_get_global_options" alt="" coords="2212,103,2380,133"/><area shape="rect" id="node92" href="command_8inc.html#ad5dd93fad069d6ba73b3546d26855071" title="drush_command_default\l_options" alt="" coords="1999,235,2161,281"/><area shape="rect" id="node100" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1575,1437,1703,1466"/><area shape="rect" id="node103" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1564,1314,1713,1343"/><area shape="rect" id="node108" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="664,1007,813,1053"/><area shape="rect" id="node112" href="engines_8inc.html#a316fd3a909b19c6b88ce4ffc521756da" title="drush_get_command_engine\l_config" alt="" coords="863,1193,1049,1240"/><area shape="rect" id="node114" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="1113,786,1244,815"/><area shape="rect" id="node127" href="engines_8inc.html#a24f80c817f3ad16e83ada78268b16aef" title="drush_select_engine" alt="" coords="1108,1261,1249,1290"/><area shape="rect" id="node132" href="engines_8inc.html#a1eb2ea4e50529f3c7953f419956ce51a" title="drush_set_engine" alt="" coords="1117,1093,1240,1122"/><area shape="rect" id="node135" href="engines_8inc.html#a8d6f32991f4806b9311373a0c9afcbd5" title="drush_load_engine" alt="" coords="891,837,1021,866"/><area shape="rect" id="node116" href="engines_8inc.html#a50374de188af3d1cb754476607b9c375" title="drush_get_engine_types_info" alt="" coords="1308,887,1497,917"/><area shape="rect" id="node118" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1548,887,1729,917"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_abcb2a29ddfe9b3f66120793287c143c2_icgraph.png" border="0" usemap="#sitealias_8drush_8inc_abcb2a29ddfe9b3f66120793287c143c2_icgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_abcb2a29ddfe9b3f66120793287c143c2_icgraph" id="sitealias_8drush_8inc_abcb2a29ddfe9b3f66120793287c143c2_icgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="203,13,344,43"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a50bb1ab798f857c144715b783c71c480"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_sitealias_print </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Print out the specified site aliases (or else all) using the format specified. </p>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00182">182</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

<p>References <a class="el" href="sitealias_8drush_8inc_source.html#l00208">_drush_sitealias_prepare_record()</a>, <a class="el" href="sitealias_8drush_8inc_source.html#l00139">_drush_sitealias_user_specified_list()</a>, and <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_a50bb1ab798f857c144715b783c71c480_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_a50bb1ab798f857c144715b783c71c480_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_a50bb1ab798f857c144715b783c71c480_cgraph" id="sitealias_8drush_8inc_a50bb1ab798f857c144715b783c71c480_cgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#ac45445a1d55a51a3d3445884284f86fa" title="_drush_sitealias_prepare\l_record" alt="" coords="412,266,577,313"/><area shape="rect" id="node23" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1119,556,1239,585"/><area shape="rect" id="node69" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="196,623,343,670"/><area shape="rect" id="node5" href="sitealias_8inc.html#a1f4c706969fbd0d73d227a52d106b5f4" title="_drush_sitealias_add\l_static_defaults" alt="" coords="653,109,797,155"/><area shape="rect" id="node11" href="sitealias_8inc.html#a1d3d9f7c33a390544cc8591fdd156457" title="_drush_sitealias_add\l_transient_defaults" alt="" coords="653,191,797,238"/><area shape="rect" id="node31" href="sitealias_8inc.html#a55b71bb6e4dda1cff7e68ef49331ba6d" title="drush_sitealias_add\l_db_settings" alt="" coords="657,335,793,382"/><area shape="rect" id="node59" href="sitealias_8inc.html#aa15ff47fd0f40a3555eae33a03382125" title="drush_sitealias_convert\l_databases_to_db_url" alt="" coords="647,13,804,59"/><area shape="rect" id="node63" href="sitealias_8inc.html#ac47e3ae7659cedce04c044c53fdb5c37" title="drush_sitealias_resolve\l_path_references" alt="" coords="647,266,804,313"/><area shape="rect" id="node7" href="sitealias_8inc.html#a96a1545df8b70035ba248ae3cb057d06" title="drush_sitealias_convert\l_db_from_db_url" alt="" coords="869,74,1027,121"/><area shape="rect" id="node9" href="sitealias_8inc.html#a3e5b4e0099b3cf7ad4ec47fac20e4e54" title="drush_convert_db_from\l_db_url" alt="" coords="1100,74,1257,121"/><area shape="rect" id="node13" href="includes_2environment_8inc.html#a032f700f79865fea51e89e5df3230ba7" title="drush_find_drush" alt="" coords="888,195,1008,224"/><area shape="rect" id="node15" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="1741,335,1872,382"/><area shape="rect" id="node21" href="sitealias_8inc.html#a9f30af3e05fd59449caa884e93ed7b82" title="drush_sitealias_get_root" alt="" coords="867,248,1029,277"/><area shape="rect" id="node17" href="startup_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1931,313,2059,343"/><area shape="rect" id="node19" href="includes_2environment_8inc.html#af7dce7594f3c11c6c9c212940c9ba74a" title="drush_site_dir_lookup\l_from_hostname" alt="" coords="1921,366,2068,413"/><area shape="rect" id="node25" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1343,557,1471,587"/><area shape="rect" id="node27" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1556,843,1684,872"/><area shape="rect" id="node29" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1332,504,1481,533"/><area shape="rect" id="node33" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="872,352,1024,381"/><area shape="rect" id="node35" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="1100,399,1257,446"/><area shape="rect" id="node43" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1368,869,1445,899"/><area shape="rect" id="node45" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1160,985,1197,1015"/><area shape="rect" id="node51" href="sitealias_8inc.html#a0665329c1176b30398fa27ee5cd10423" title="drush_sitealias_simplify\l_names" alt="" coords="1099,330,1259,377"/><area shape="rect" id="node53" href="context_8inc.html#a559008f6decb23108b83e704208e415e" title="drush_get_option_override" alt="" coords="1092,277,1265,307"/><area shape="rect" id="node55" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="1329,434,1484,481"/><area shape="rect" id="node37" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="1553,335,1687,382"/><area shape="rect" id="node40" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="1328,365,1485,411"/><area shape="rect" id="node47" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1340,1139,1473,1186"/><area shape="rect" id="node49" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1337,985,1476,1015"/><area shape="rect" id="node61" href="sitealias_8inc.html#a6f3813ab1752b4a2a698a30777deb3bb" title="drush_sitealias_convert\l_db_spec_to_db_url" alt="" coords="869,5,1027,51"/><area shape="rect" id="node65" href="sitealias_8inc.html#a09f500deb9e45e97098a37a4caa374ee" title="drush_sitealias_is\l_bootstrapped_site" alt="" coords="1113,207,1244,254"/><area shape="rect" id="node71" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d" title="_drush_sitealias_all_list" alt="" coords="415,1299,575,1328"/><area shape="rect" id="node94" href="context_8inc.html#a8fc57227375a540fea5314b154576354" title="drush_get_command" alt="" coords="655,659,796,688"/><area shape="rect" id="node98" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="392,659,597,688"/><area shape="rect" id="node109" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1123,712,1235,741"/><area shape="rect" id="node73" href="sitealias_8drush_8inc.html#ad809b4041656d1dc016b3fdf954ab066" title="_drush_sitealias_alias_list" alt="" coords="1092,1313,1265,1343"/><area shape="rect" id="node76" href="sitealias_8drush_8inc.html#abc87a944e5c22e954bfed08dcd874e02" title="_drush_sitealias_site_list" alt="" coords="1323,1311,1491,1340"/><area shape="rect" id="node82" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="645,1244,805,1273"/><area shape="rect" id="node79" href="group__filesystemfunctions.html#ga1c545390a8890f6ea47385f79fbe2e82" title="drush_scan_directory" alt="" coords="1547,1311,1693,1340"/><area shape="rect" id="node84" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="873,1087,1023,1134"/><area shape="rect" id="node89" href="sitealias_8inc.html#ab1ae22d0ad42d924ff0f85154f027885" title="_drush_sitealias_add\l_inherited_values" alt="" coords="876,1207,1020,1254"/><area shape="rect" id="node91" href="context_8inc.html#a16a51c5b09d64e968c3bd7ec414b8846" title="drush_set_config_special\l_contexts" alt="" coords="1095,1219,1263,1266"/><area shape="rect" id="node101" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="651,830,800,877"/><area shape="rect" id="node105" href="engines_8inc.html#a316fd3a909b19c6b88ce4ffc521756da" title="drush_get_command_engine\l_config" alt="" coords="855,917,1041,963"/><area shape="rect" id="node107" href="engines_8inc.html#ae94a82d80d5e90cb126de1f16a7f8fe4" title="drush_get_engines" alt="" coords="883,813,1013,843"/><area shape="rect" id="node119" href="engines_8inc.html#a24f80c817f3ad16e83ada78268b16aef" title="drush_select_engine" alt="" coords="877,608,1019,637"/><area shape="rect" id="node112" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1316,816,1497,845"/><area shape="rect" id="node114" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1329,712,1484,741"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a617aa7e74fc3c55cb99263a84e414466"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_sitealias_site_set </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$site</em> = <code>'@none'</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set the DRUPAL_SITE variable by writing it out to a temporary file that we then source for persistent site switching.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">site</td><td>A valid site specification. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00350">350</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

<p>References <a class="el" href="sitealias_8inc_source.html#l01710">_drush_sitealias_set_context_by_name()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00124">drush_cwd()</a>, <a class="el" href="filesystem_8inc_source.html#l00127">drush_delete_dir()</a>, <a class="el" href="drush_8inc_source.html#l01252">drush_log()</a>, <a class="el" href="filesystem_8inc_source.html#l00360">drush_mkdir()</a>, <a class="el" href="output_8inc_source.html#l00028">drush_print()</a>, <a class="el" href="drush_8inc_source.html#l01525">drush_set_error()</a>, <a class="el" href="sitealias_8inc_source.html#l02183">drush_sitealias_get_envar_filename()</a>, <a class="el" href="sitealias_8inc_source.html#l02233">drush_sitealias_lookup_alias_by_path()</a>, and <a class="el" href="output_8inc_source.html#l00149">dt()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_a617aa7e74fc3c55cb99263a84e414466_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_a617aa7e74fc3c55cb99263a84e414466_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_a617aa7e74fc3c55cb99263a84e414466_cgraph" id="sitealias_8drush_8inc_a617aa7e74fc3c55cb99263a84e414466_cgraph">
<area shape="rect" id="node3" href="sitealias_8inc.html#a276a2325cb18922b6d365c13a6ed7d66" title="_drush_sitealias_set\l_context_by_name" alt="" coords="216,964,357,1011"/><area shape="rect" id="node34" href="sitealias_8inc.html#a3f06e1c033d491e01fe2841c08c0cd2e" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="633,731,788,777"/><area shape="rect" id="node43" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1320,354,1397,383"/><area shape="rect" id="node53" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1340,478,1377,507"/><area shape="rect" id="node109" href="includes_2environment_8inc.html#a339c57f584d4f3d910d8c36763d054c2" title="drush_cwd" alt="" coords="877,101,963,130"/><area shape="rect" id="node113" href="group__filesystemfunctions.html#gabff54c630a451976fc121257f6efd960" title="drush_delete_dir" alt="" coords="228,1253,345,1282"/><area shape="rect" id="node119" href="group__filesystemfunctions.html#ga6027285d97028ad3299d3aa262be8c2f" title="drush_mkdir" alt="" coords="873,305,967,334"/><area shape="rect" id="node121" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="1077,47,1189,77"/><area shape="rect" id="node129" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="244,1141,329,1170"/><area shape="rect" id="node133" href="sitealias_8inc.html#af2c27b6cfcdd6fe27305f6c00d0cd0ec" title="drush_sitealias_get\l_envar_filename" alt="" coords="220,1305,353,1352"/><area shape="rect" id="node5" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="427,911,560,957"/><area shape="rect" id="node80" href="sitealias_8inc.html#af5e2a5f32557a495b31c2a72bab9586b" title="drush_sitealias_cache\l_alias_by_path" alt="" coords="845,749,995,796"/><area shape="rect" id="node89" href="sitealias_8inc.html#a0ad20ecde503732363f4f6465e6fcc65" title="drush_sitealias_set\l_alias_context" alt="" coords="427,1060,560,1107"/><area shape="rect" id="node97" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="433,1203,553,1233"/><area shape="rect" id="node104" href="sitealias_8inc.html#aa09f66b610fd6ea9dd4f65fb66582bd2" title="_drush_sitealias_cache\l_alias" alt="" coords="841,1208,999,1255"/><area shape="rect" id="node7" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="849,1019,991,1065"/><area shape="rect" id="node23" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="1293,900,1424,947"/><area shape="rect" id="node28" href="sitealias_8inc.html#a9e6067d5c022f5ee598fd0da886931a0" title="drush_sitealias_local\l_site_path" alt="" coords="1063,809,1204,856"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1892,442,2020,471"/><area shape="rect" id="node11" href="group__filesystemfunctions.html#gafa80199035259ddf98fa300d6f646aa2" title="drush_is_absolute_path" alt="" coords="1280,1110,1437,1139"/><area shape="rect" id="node13" href="startup_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="1504,998,1632,1027"/><area shape="rect" id="node16" href="sitealias_8inc.html#a6812218f7e86fa00ec5c011768c63f48" title="_drush_sitealias_set\l_record_element" alt="" coords="1063,1049,1204,1096"/><area shape="rect" id="node18" href="includes_2environment_8inc.html#adcda6d5e2415f63051b8cd4afde623b0" title="drush_valid_root" alt="" coords="1075,1119,1192,1149"/><area shape="rect" id="node21" href="sitealias_8inc.html#a38645e5a6d252e6f419db90c5e7e8739" title="_drush_sitealias_find\l_record_for_local_site" alt="" coords="1059,929,1208,976"/><area shape="rect" id="node26" href="sitealias_8inc.html#a03f4ae74a5e4854ac9ffee762cab07f3" title="drush_sitealias_add\l_to_alias_path" alt="" coords="1065,1273,1201,1320"/><area shape="rect" id="node31" href="sitealias_8inc.html#a9f30af3e05fd59449caa884e93ed7b82" title="drush_sitealias_get_root" alt="" coords="1277,818,1440,847"/><area shape="rect" id="node36" href="sitealias_8inc.html#a90a54eb940fe80e6e9e3faf12098cbac" title="drush_sitealias_quick\l_lookup_cached_alias\l_by_path" alt="" coords="845,662,995,726"/><area shape="rect" id="node62" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="845,387,995,433"/><area shape="rect" id="node38" href="includes_2cache_8inc.html#a70613777c5e1a0e258bd0d8e213e0156" title="drush_get_cid" alt="" coords="1083,757,1184,786"/><area shape="rect" id="node41" href="includes_2cache_8inc.html#adc36ac3b562c67cbf1d7aab89c029694" title="drush_cache_get" alt="" coords="1073,599,1193,629"/><area shape="rect" id="node45" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1525,354,1611,383"/><area shape="rect" id="node48" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="1716,354,1812,383"/><area shape="rect" id="node50" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1687,235,1841,265"/><area shape="rect" id="node55" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1501,469,1635,516"/><area shape="rect" id="node60" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1499,417,1637,446"/><area shape="rect" id="node57" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1692,473,1836,502"/><area shape="rect" id="node64" href="sitealias_8inc.html#a9ccbaf4417b01e474a01db9c985fb103" title="_drush_sitealias_find\l_alias_files" alt="" coords="1061,356,1205,403"/><area shape="rect" id="node68" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1069,101,1197,130"/><area shape="rect" id="node73" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="1048,529,1219,576"/><area shape="rect" id="node76" href="sitealias_8inc.html#aa4c589e4cb7f9ac0dad80ff526444c19" title="_sitealias_array_merge" alt="" coords="1056,426,1211,455"/><area shape="rect" id="node84" href="includes_2cache_8inc.html#a27a40af68c2a61fdf94b980b953236bf" title="drush_cache_set" alt="" coords="1073,653,1193,682"/><area shape="rect" id="node92" href="sitealias_8inc.html#a0f662d20486f5f1bf0cd855f6a62c19d" title="drush_get_special_keys" alt="" coords="629,1099,792,1129"/><area shape="rect" id="node94" href="includes_2environment_8inc.html#a395834ff6c51946c9c8a0953aa8f539f" title="drush_is_local_host" alt="" coords="643,1046,779,1075"/><area shape="rect" id="node99" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="647,1495,775,1525"/><area shape="rect" id="node102" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="636,1549,785,1578"/><area shape="rect" id="node115" href="group__filesystemfunctions.html#ga7ba5be839cd5d2104eaf9c26da63c97d" title="drush_delete_dir_contents" alt="" coords="407,1257,580,1286"/><area shape="rect" id="node124" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="1268,98,1449,127"/><area shape="rect" id="node135" href="includes_2environment_8inc.html#a25a1b7c8414b818e263d31ff06363772" title="drush_get_username" alt="" coords="423,1314,564,1343"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a80c6f0bc5ddf5b7fcf6a611f012d40c5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_sitealias_site_set_validate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Validation callback for drush site-set. </p>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00336">336</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l01525">drush_set_error()</a>, and <a class="el" href="output_8inc_source.html#l00149">dt()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_a80c6f0bc5ddf5b7fcf6a611f012d40c5_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_a80c6f0bc5ddf5b7fcf6a611f012d40c5_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_a80c6f0bc5ddf5b7fcf6a611f012d40c5_cgraph" id="sitealias_8drush_8inc_a80c6f0bc5ddf5b7fcf6a611f012d40c5_cgraph">
<area shape="rect" id="node3" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="192,106,304,135"/><area shape="rect" id="node24" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="229,220,267,250"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="993,80,1121,110"/><area shape="rect" id="node7" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="353,159,535,188"/><area shape="rect" id="node9" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="784,54,939,83"/><area shape="rect" id="node12" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="405,106,483,135"/><area shape="rect" id="node14" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="615,106,700,135"/><area shape="rect" id="node17" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="813,208,909,238"/><area shape="rect" id="node19" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1007,235,1108,264"/><area shape="rect" id="node21" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1172,235,1305,264"/><area shape="rect" id="node26" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="377,212,511,258"/><area shape="rect" id="node34" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="375,282,513,311"/><area shape="rect" id="node28" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="585,220,729,250"/><area shape="rect" id="node31" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="779,262,944,291"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a111c507228e24bf6aa1bc4e368fcadda"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sitealias_site_alias_complete </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Command argument complete callback.</p>
<dl class="section return"><dt>Returns</dt><dd>Array of available site aliases. </dd></dl>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00078">78</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

<p>References <a class="el" href="sitealias_8drush_8inc_source.html#l00129">_drush_sitealias_all_list()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_a111c507228e24bf6aa1bc4e368fcadda_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_a111c507228e24bf6aa1bc4e368fcadda_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_a111c507228e24bf6aa1bc4e368fcadda_cgraph" id="sitealias_8drush_8inc_a111c507228e24bf6aa1bc4e368fcadda_cgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d" title="_drush_sitealias_all_list" alt="" coords="187,193,347,223"/><area shape="rect" id="node5" href="sitealias_8drush_8inc.html#ad809b4041656d1dc016b3fdf954ab066" title="_drush_sitealias_alias_list" alt="" coords="604,79,777,108"/><area shape="rect" id="node9" href="sitealias_8drush_8inc.html#abc87a944e5c22e954bfed08dcd874e02" title="_drush_sitealias_site_list" alt="" coords="828,193,996,223"/><area shape="rect" id="node50" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="395,433,555,463"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="2131,456,2259,485"/><area shape="rect" id="node12" href="group__filesystemfunctions.html#ga1c545390a8890f6ea47385f79fbe2e82" title="drush_scan_directory" alt="" coords="1055,417,1201,447"/><area shape="rect" id="node43" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="1913,979,2044,1026"/><area shape="rect" id="node14" href="drush_8inc.html#acebe9ed4e4825e6d33ab8dff2157b676" title="drush_op" alt="" coords="1295,461,1369,491"/><area shape="rect" id="node16" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1503,348,1580,377"/><area shape="rect" id="node28" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1523,572,1560,601"/><area shape="rect" id="node41" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="1469,451,1613,498"/><area shape="rect" id="node18" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1720,348,1805,377"/><area shape="rect" id="node21" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="2363,461,2459,491"/><area shape="rect" id="node25" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1901,353,2056,383"/><area shape="rect" id="node23" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="2543,584,2644,613"/><area shape="rect" id="node30" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1696,606,1829,653"/><area shape="rect" id="node38" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1693,553,1832,583"/><area shape="rect" id="node32" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1907,615,2051,644"/><area shape="rect" id="node35" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="2328,776,2493,805"/><area shape="rect" id="node45" href="startup_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="2131,1028,2259,1057"/><area shape="rect" id="node47" href="includes_2environment_8inc.html#af7dce7594f3c11c6c9c212940c9ba74a" title="drush_site_dir_lookup\l_from_hostname" alt="" coords="2121,937,2268,983"/><area shape="rect" id="node52" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="616,594,765,641"/><area shape="rect" id="node115" href="sitealias_8inc.html#ab1ae22d0ad42d924ff0f85154f027885" title="_drush_sitealias_add\l_inherited_values" alt="" coords="619,966,763,1013"/><area shape="rect" id="node122" href="context_8inc.html#a16a51c5b09d64e968c3bd7ec414b8846" title="drush_set_config_special\l_contexts" alt="" coords="1679,233,1847,279"/><area shape="rect" id="node54" href="sitealias_8inc.html#a9ccbaf4417b01e474a01db9c985fb103" title="_drush_sitealias_find\l_alias_files" alt="" coords="840,594,984,641"/><area shape="rect" id="node77" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1268,777,1396,807"/><area shape="rect" id="node82" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="827,1058,997,1105"/><area shape="rect" id="node112" href="sitealias_8inc.html#aa4c589e4cb7f9ac0dad80ff526444c19" title="_sitealias_array_merge" alt="" coords="835,541,989,571"/><area shape="rect" id="node56" href="sitealias_8inc.html#aa052aebdf8f0c0037fb910f8d59577b0" title="drush_sitealias_alias_path" alt="" coords="1455,845,1628,875"/><area shape="rect" id="node70" href="command_8inc.html#a835a66ae60ec33b87f477a6b3dd00547" title="drush_filename_blacklist" alt="" coords="1045,673,1211,703"/><area shape="rect" id="node58" href="sitealias_8inc.html#a9e6067d5c022f5ee598fd0da886931a0" title="drush_sitealias_local\l_site_path" alt="" coords="1692,1169,1833,1215"/><area shape="rect" id="node63" href="sitealias_8inc.html#a03f4ae74a5e4854ac9ffee762cab07f3" title="drush_sitealias_add\l_to_alias_path" alt="" coords="1695,1099,1831,1146"/><area shape="rect" id="node66" href="sitealias_8inc.html#a33a83dbbac16251ebe2d9f946056e7e5" title="drush_sitealias_alias\l_base_directory" alt="" coords="1692,777,1833,823"/><area shape="rect" id="node61" href="sitealias_8inc.html#a9f30af3e05fd59449caa884e93ed7b82" title="drush_sitealias_get_root" alt="" coords="1897,1155,2060,1184"/><area shape="rect" id="node72" href="context_8inc.html#ade60e65f76863ed34db22f5e7f83a150" title="drush_get_option_list" alt="" coords="1260,673,1404,703"/><area shape="rect" id="node84" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="1265,1049,1399,1095"/><area shape="rect" id="node99" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="1049,998,1207,1045"/><area shape="rect" id="node102" href="sitealias_8inc.html#a926d838da4c2c24300e7e7461d8079b0" title="drush_sitealias_alias\l_record_to_spec" alt="" coords="1692,1238,1833,1285"/><area shape="rect" id="node110" href="sitealias_8inc.html#a584dc890dc9cace2320ee31a25e25d43" title="_drush_sitealias_find\l_local_sites" alt="" coords="1056,1118,1200,1165"/><area shape="rect" id="node86" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="1471,1049,1612,1095"/><area shape="rect" id="node94" href="sitealias_8inc.html#a3f06e1c033d491e01fe2841c08c0cd2e" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="1464,1169,1619,1215"/><area shape="rect" id="node106" href="group__commandwrappers.html#gae0975650ba125212c2666e58729f43cf" title="drush_remote_host" alt="" coords="1912,1208,2045,1237"/><area shape="rect" id="node108" href="sitealias_8inc.html#a6bcaf6211d8387c6f154d6592287cf3f" title="drush_sitealias_add\l_db_url" alt="" coords="1911,1261,2047,1307"/><area shape="rect" id="node117" href="sitealias_8inc.html#aa09f66b610fd6ea9dd4f65fb66582bd2" title="_drush_sitealias_cache\l_alias" alt="" coords="1463,1289,1620,1335"/><area shape="rect" id="node124" href="context_8inc.html#a2082bda0c615dc7163f69851ddd8edaf" title="drush_expand_short\l_form_options" alt="" coords="1909,62,2048,109"/><area shape="rect" id="node126" href="drush_8inc.html#acb0a26e79bcbdd1152d59a6916a35aae" title="drush_get_global_options" alt="" coords="2111,71,2279,100"/><area shape="rect" id="node132" href="command_8inc.html#ad5dd93fad069d6ba73b3546d26855071" title="drush_command_default\l_options" alt="" coords="1897,283,2060,330"/><area shape="rect" id="node128" href="command_8inc.html#a74995cc76034e90a39baee51111b20be" title="drush_command_invoke\l_all_ref" alt="" coords="2329,62,2492,109"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aa94645cd530207c93d7e11445ceb7651"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">sitealias_site_set_complete </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Command argument complete callback.</p>
<dl class="section return"><dt>Returns</dt><dd>Array of available site aliases. </dd></dl>

<p>Definition at line <a class="el" href="sitealias_8drush_8inc_source.html#l00088">88</a> of file <a class="el" href="sitealias_8drush_8inc_source.html">sitealias.drush.inc</a>.</p>

<p>References <a class="el" href="sitealias_8drush_8inc_source.html#l00129">_drush_sitealias_all_list()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="sitealias_8drush_8inc_aa94645cd530207c93d7e11445ceb7651_cgraph.png" border="0" usemap="#sitealias_8drush_8inc_aa94645cd530207c93d7e11445ceb7651_cgraph" alt=""/></div>
<map name="sitealias_8drush_8inc_aa94645cd530207c93d7e11445ceb7651_cgraph" id="sitealias_8drush_8inc_aa94645cd530207c93d7e11445ceb7651_cgraph">
<area shape="rect" id="node3" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d" title="_drush_sitealias_all_list" alt="" coords="176,193,336,223"/><area shape="rect" id="node5" href="sitealias_8drush_8inc.html#ad809b4041656d1dc016b3fdf954ab066" title="_drush_sitealias_alias_list" alt="" coords="593,79,767,108"/><area shape="rect" id="node9" href="sitealias_8drush_8inc.html#abc87a944e5c22e954bfed08dcd874e02" title="_drush_sitealias_site_list" alt="" coords="817,193,985,223"/><area shape="rect" id="node50" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="384,433,544,463"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="2120,456,2248,485"/><area shape="rect" id="node12" href="group__filesystemfunctions.html#ga1c545390a8890f6ea47385f79fbe2e82" title="drush_scan_directory" alt="" coords="1044,417,1191,447"/><area shape="rect" id="node43" href="sitealias_8inc.html#a7da9f5d71a8c274a8a1fc5d3889e9999" title="drush_sitealias_uri\l_to_site_dir" alt="" coords="1903,979,2033,1026"/><area shape="rect" id="node14" href="drush_8inc.html#acebe9ed4e4825e6d33ab8dff2157b676" title="drush_op" alt="" coords="1284,461,1359,491"/><area shape="rect" id="node16" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="1492,348,1569,377"/><area shape="rect" id="node28" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="1512,572,1549,601"/><area shape="rect" id="node41" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="1459,451,1603,498"/><area shape="rect" id="node18" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="1709,348,1795,377"/><area shape="rect" id="node21" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="2352,461,2448,491"/><area shape="rect" id="node25" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1891,353,2045,383"/><area shape="rect" id="node23" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="2532,584,2633,613"/><area shape="rect" id="node30" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="1685,606,1819,653"/><area shape="rect" id="node38" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="1683,553,1821,583"/><area shape="rect" id="node32" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="1896,615,2040,644"/><area shape="rect" id="node35" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="2317,776,2483,805"/><area shape="rect" id="node45" href="startup_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="2120,1028,2248,1057"/><area shape="rect" id="node47" href="includes_2environment_8inc.html#af7dce7594f3c11c6c9c212940c9ba74a" title="drush_site_dir_lookup\l_from_hostname" alt="" coords="2111,937,2257,983"/><area shape="rect" id="node52" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="605,594,755,641"/><area shape="rect" id="node115" href="sitealias_8inc.html#ab1ae22d0ad42d924ff0f85154f027885" title="_drush_sitealias_add\l_inherited_values" alt="" coords="608,966,752,1013"/><area shape="rect" id="node122" href="context_8inc.html#a16a51c5b09d64e968c3bd7ec414b8846" title="drush_set_config_special\l_contexts" alt="" coords="1668,233,1836,279"/><area shape="rect" id="node54" href="sitealias_8inc.html#a9ccbaf4417b01e474a01db9c985fb103" title="_drush_sitealias_find\l_alias_files" alt="" coords="829,594,973,641"/><area shape="rect" id="node77" href="context_8inc.html#af983acfe90e7d7bbdbd67c57f93708ba" title="drush_set_context" alt="" coords="1257,777,1385,807"/><area shape="rect" id="node82" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="816,1058,987,1105"/><area shape="rect" id="node112" href="sitealias_8inc.html#aa4c589e4cb7f9ac0dad80ff526444c19" title="_sitealias_array_merge" alt="" coords="824,541,979,571"/><area shape="rect" id="node56" href="sitealias_8inc.html#aa052aebdf8f0c0037fb910f8d59577b0" title="drush_sitealias_alias_path" alt="" coords="1444,845,1617,875"/><area shape="rect" id="node70" href="command_8inc.html#a835a66ae60ec33b87f477a6b3dd00547" title="drush_filename_blacklist" alt="" coords="1035,673,1200,703"/><area shape="rect" id="node58" href="sitealias_8inc.html#a9e6067d5c022f5ee598fd0da886931a0" title="drush_sitealias_local\l_site_path" alt="" coords="1681,1169,1823,1215"/><area shape="rect" id="node63" href="sitealias_8inc.html#a03f4ae74a5e4854ac9ffee762cab07f3" title="drush_sitealias_add\l_to_alias_path" alt="" coords="1684,1099,1820,1146"/><area shape="rect" id="node66" href="sitealias_8inc.html#a33a83dbbac16251ebe2d9f946056e7e5" title="drush_sitealias_alias\l_base_directory" alt="" coords="1681,777,1823,823"/><area shape="rect" id="node61" href="sitealias_8inc.html#a9f30af3e05fd59449caa884e93ed7b82" title="drush_sitealias_get_root" alt="" coords="1887,1155,2049,1184"/><area shape="rect" id="node72" href="context_8inc.html#ade60e65f76863ed34db22f5e7f83a150" title="drush_get_option_list" alt="" coords="1249,673,1393,703"/><area shape="rect" id="node84" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="1255,1049,1388,1095"/><area shape="rect" id="node99" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="1039,998,1196,1045"/><area shape="rect" id="node102" href="sitealias_8inc.html#a926d838da4c2c24300e7e7461d8079b0" title="drush_sitealias_alias\l_record_to_spec" alt="" coords="1681,1238,1823,1285"/><area shape="rect" id="node110" href="sitealias_8inc.html#a584dc890dc9cace2320ee31a25e25d43" title="_drush_sitealias_find\l_local_sites" alt="" coords="1045,1118,1189,1165"/><area shape="rect" id="node86" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="1460,1049,1601,1095"/><area shape="rect" id="node94" href="sitealias_8inc.html#a3f06e1c033d491e01fe2841c08c0cd2e" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="1453,1169,1608,1215"/><area shape="rect" id="node106" href="group__commandwrappers.html#gae0975650ba125212c2666e58729f43cf" title="drush_remote_host" alt="" coords="1901,1208,2035,1237"/><area shape="rect" id="node108" href="sitealias_8inc.html#a6bcaf6211d8387c6f154d6592287cf3f" title="drush_sitealias_add\l_db_url" alt="" coords="1900,1261,2036,1307"/><area shape="rect" id="node117" href="sitealias_8inc.html#aa09f66b610fd6ea9dd4f65fb66582bd2" title="_drush_sitealias_cache\l_alias" alt="" coords="1452,1289,1609,1335"/><area shape="rect" id="node124" href="context_8inc.html#a2082bda0c615dc7163f69851ddd8edaf" title="drush_expand_short\l_form_options" alt="" coords="1899,62,2037,109"/><area shape="rect" id="node126" href="drush_8inc.html#acb0a26e79bcbdd1152d59a6916a35aae" title="drush_get_global_options" alt="" coords="2100,71,2268,100"/><area shape="rect" id="node132" href="command_8inc.html#ad5dd93fad069d6ba73b3546d26855071" title="drush_command_default\l_options" alt="" coords="1887,283,2049,330"/><area shape="rect" id="node128" href="command_8inc.html#a74995cc76034e90a39baee51111b20be" title="drush_command_invoke\l_all_ref" alt="" coords="2319,62,2481,109"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Nov 2 2016 07:29:22 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>