Drush: commands/core/drupal/environment.inc File Reference

  1. 7.x doxygen/html/commands_2core_2drupal_2environment_8inc.html
  2. master doxygen/html/commands_2core_2drupal_2environment_8inc.html
environment.inc File Reference

Go to the source code of this file.

Functions

 drush_get_modules ($include_hidden=TRUE)
 _drush_drupal_required_modules ($module_info)
 drush_check_module_dependencies ($modules, $module_info)
 drush_module_dependents ($modules, $module_info)
 drush_module_list ()
 drush_module_install ($module_list, $enable_dependencies=TRUE)
 drush_module_exists ($module)
 drush_module_implements ($hook, $sort=FALSE, $reset=FALSE)
 drush_get_named_extensions_list ($extensions)
 drush_module_enable ($modules)
 drush_module_disable ($modules)
 drush_module_uninstall ($modules)
 drush_module_invoke ($module, $hook)
 drush_module_invoke_all ($hook)
 drush_theme_list ()
 drush_get_themes ($include_hidden=TRUE)
 drush_theme_enable ($themes)
 drush_theme_disable ($themes)
 drush_theme_uninstall ($themes)
 drush_watchdog_severity_levels ()
 drush_watchdog_message_types ()
 _drush_theme_default ()
 _drush_theme_admin ()
 _drush_file_public_path ()
 _drush_file_private_path ()
 _drush_extension_get_name ($info)
 _drush_extension_get_type ($info)
 _drush_extension_get_path ($info)
 drush_get_token ($value=NULL)
 drush_url ($path=NULL, array $options=array())

Detailed Description

Specific functions for a drupal 8+ environment. drush_include_engine() magically includes either this file or environment_X.inc depending on which version of drupal Drush is called from.

Definition in file environment.inc.

Function Documentation

_drush_drupal_required_modules (   $module_info)

Returns drupal required modules, including modules declared as required dynamically.

Definition at line 42 of file environment.inc.

_drush_extension_get_name (   $info)

Gets the extension name.

Parameters
$infoThe extension info.
Returns
string The extension name.

Definition at line 380 of file environment.inc.

Referenced by drush_extension_get_name().

Here is the caller graph for this function:

_drush_extension_get_path (   $info)

Gets the extension path.

Parameters
$infoThe extension info.
Returns
string The extension path.

Definition at line 404 of file environment.inc.

Referenced by _drush_make_generate_projects(), and drush_extension_get_path().

Here is the caller graph for this function:

_drush_extension_get_type (   $info)

Gets the extension type.

Parameters
$infoThe extension info.
Returns
string The extension type.

Definition at line 392 of file environment.inc.

Referenced by drush_extension_get_type().

Here is the caller graph for this function:

drush_check_module_dependencies (   $modules,
  $module_info 
)

Return dependencies and its status for modules.

Parameters
$modulesArray of module names
$module_infoDrupal 'files' array for modules as returned by drush_get_modules().
Returns
Array with dependencies and status for $modules

Definition at line 62 of file environment.inc.

References drush_get_drupal_core_compatibility(), and dt().

Referenced by drush_pm_enable_validate().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_get_modules (   $include_hidden = TRUE)

Get complete information for all available modules.

Parameters
$include_hiddenBoolean to indicate whether hidden modules should be excluded or not.
Returns
An array containing module info for all available modules.

Definition at line 24 of file environment.inc.

Referenced by drush_get_extensions(), and drush_get_named_extensions_list().

Here is the caller graph for this function:

drush_get_named_extensions_list (   $extensions)

Return a list of modules from a list of named modules. Both enabled and disabled/uninstalled modules are returned.

Definition at line 171 of file environment.inc.

References drush_get_modules(), and drush_get_themes().

Referenced by drush_pm_enable().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_get_themes (   $include_hidden = TRUE)

Get complete information for all available themes.

Parameters
$include_hiddenBoolean to indicate whether hidden themes should be excluded or not.
Returns
An array containing theme info for all available themes.

Definition at line 275 of file environment.inc.

Referenced by drush_get_extensions(), and drush_get_named_extensions_list().

Here is the caller graph for this function:

drush_module_dependents (   $modules,
  $module_info 
)

Return dependents of modules.

Parameters
$modulesArray of module names
$module_infoDrupal 'files' array for modules as returned by drush_get_modules().
Returns
Array with dependents for each one of $modules

Definition at line 104 of file environment.inc.

drush_module_disable (   $modules)

Disable a list of modules. It is assumed the list contains all dependents not already disabled.

Parameters
$modulesArray of module names

Definition at line 214 of file environment.inc.

References drush_set_error(), and dt().

Here is the call graph for this function:

drush_module_enable (   $modules)

Enable a list of modules. It is assumed the list contains all the dependencies not already enabled.

Parameters
$modulesArray of module names

Definition at line 194 of file environment.inc.

References Drush\bootstrapManager(), and drush_module_install().

Referenced by drush_pm_enable().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_module_exists (   $module)

Checks that a given module exists and is enabled.

See Also
::moduleExists()

Definition at line 140 of file environment.inc.

Referenced by Drush\Boot\DrupalBoot\drush_enforce_requirement_drupal_dependencies(), drush_get_projects(), drush_hook_pre_pm_enable(), drush_load_engine(), and package_handler_validate().

Here is the caller graph for this function:

drush_module_implements (   $hook,
  $sort = FALSE,
  $reset = FALSE 
)

Determines which modules are implementing a hook.

Parameters
string$hookThe hook name.
bool$sortNot used in Drupal 8 environment.
bool$resetTRUE to reset the hook implementation cache.
See Also
::getImplementations().
::resetImplementations().

Definition at line 158 of file environment.inc.

drush_module_install (   $module_list,
  $enable_dependencies = TRUE 
)

Installs a given list of modules.

See Also
::install()

Definition at line 130 of file environment.inc.

Referenced by drush_module_enable().

Here is the caller graph for this function:

drush_module_invoke (   $module,
  $hook 
)

Invokes a hook in a particular module.

Definition at line 237 of file environment.inc.

drush_module_invoke_all (   $hook)

Invokes a hook in all enabled modules that implement it.

Definition at line 248 of file environment.inc.

Referenced by drush_core_requirements().

Here is the caller graph for this function:

drush_module_list ( )

Returns a list of enabled modules.

This is a wrapper for module_list().

Definition at line 119 of file environment.inc.

Referenced by drush_pm_enable_validate(), and drush_pm_updatecode_postupdate().

Here is the caller graph for this function:

drush_module_uninstall (   $modules)

Uninstall a list of modules.

Parameters
$modulesArray of module names
See Also
::uninstall()

Definition at line 226 of file environment.inc.

References Drush\bootstrapManager().

Here is the call graph for this function:

drush_theme_disable (   $themes)

Disable a list of themes.

Parameters
$themesArray of theme names.

Definition at line 307 of file environment.inc.

References drush_set_error(), and dt().

Here is the call graph for this function:

drush_theme_enable (   $themes)

Enable a list of themes.

Parameters
$themesArray of theme names.

Definition at line 297 of file environment.inc.

Referenced by drush_pm_enable().

Here is the caller graph for this function:

drush_theme_list ( )

Returns a list of enabled themes. Use drush_get_themes() if you need to rebuild and include hidden as well.

Returns
[] A list of themes keyed by name.

Definition at line 262 of file environment.inc.

drush_theme_uninstall (   $themes)

Uninstall a list of themes.

Parameters
$themesArray of theme names
See Also
::uninstall()

Definition at line 319 of file environment.inc.

References Drush\bootstrapManager().

Here is the call graph for this function:

drush_watchdog_message_types ( )

Helper function to obtain the message types based on drupal version.

Returns
Array of watchdog message types.

Definition at line 351 of file environment.inc.

drush_watchdog_severity_levels ( )

Helper function to obtain the severity levels based on Drupal version.

Returns
array Watchdog severity levels keyed by RFC 3164 severities.

Definition at line 332 of file environment.inc.

Referenced by system_watchdog().

Here is the caller graph for this function:

File

doxygen/html/commands_2core_2drupal_2environment_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/drupal/environment.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><li class="navelem"><a class="el" href="dir_124c2f0cfa86b0affb712ae9b365039b.html">drupal</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">environment.inc File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="commands_2core_2drupal_2environment_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:a7bab407b662383206abfd7d40e129e10"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a7bab407b662383206abfd7d40e129e10">drush_get_modules</a> ($include_hidden=TRUE)</td></tr>
<tr class="memitem:a2a31a00ab3616a567f3dc116df687b09"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a2a31a00ab3616a567f3dc116df687b09">_drush_drupal_required_modules</a> ($module_info)</td></tr>
<tr class="memitem:ab299b3b6652e7d6323a966b143980865"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#ab299b3b6652e7d6323a966b143980865">drush_check_module_dependencies</a> ($modules, $module_info)</td></tr>
<tr class="memitem:a0f1f3aec07dd810ba186e3875002e9a6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a0f1f3aec07dd810ba186e3875002e9a6">drush_module_dependents</a> ($modules, $module_info)</td></tr>
<tr class="memitem:aa53b2f8e66f3d43eb5d1dc16c1d97f94"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#aa53b2f8e66f3d43eb5d1dc16c1d97f94">drush_module_list</a> ()</td></tr>
<tr class="memitem:a2840c8ae616c7375201184d9c053df09"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a2840c8ae616c7375201184d9c053df09">drush_module_install</a> ($module_list, $enable_dependencies=TRUE)</td></tr>
<tr class="memitem:a643d851fd8dc63ea2ce8cf67aa33098c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a643d851fd8dc63ea2ce8cf67aa33098c">drush_module_exists</a> ($module)</td></tr>
<tr class="memitem:a9536f3c3606578164e53a40820ca9bc3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a9536f3c3606578164e53a40820ca9bc3">drush_module_implements</a> ($hook, $sort=FALSE, $reset=FALSE)</td></tr>
<tr class="memitem:af33699eee70ef577f27d66c33f9f8a88"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#af33699eee70ef577f27d66c33f9f8a88">drush_get_named_extensions_list</a> ($extensions)</td></tr>
<tr class="memitem:abfb699de57ec6ec22c83a4b0ab92ac4c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#abfb699de57ec6ec22c83a4b0ab92ac4c">drush_module_enable</a> ($modules)</td></tr>
<tr class="memitem:adb63382201b7c62d39825a77015cf2fc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#adb63382201b7c62d39825a77015cf2fc">drush_module_disable</a> ($modules)</td></tr>
<tr class="memitem:a7d1f0d019005c0d633c8179e9be163cb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a7d1f0d019005c0d633c8179e9be163cb">drush_module_uninstall</a> ($modules)</td></tr>
<tr class="memitem:ac59f8f6652c62778a23418a037d293e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#ac59f8f6652c62778a23418a037d293e4">drush_module_invoke</a> ($module, $hook)</td></tr>
<tr class="memitem:a28a5df4f4cf276afe3f24adb34035733"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a28a5df4f4cf276afe3f24adb34035733">drush_module_invoke_all</a> ($hook)</td></tr>
<tr class="memitem:a19545e0580af247ff2d6ecc55944a731"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a19545e0580af247ff2d6ecc55944a731">drush_theme_list</a> ()</td></tr>
<tr class="memitem:ad5a30ae04efcc0bd416f2c555bb7c144"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#ad5a30ae04efcc0bd416f2c555bb7c144">drush_get_themes</a> ($include_hidden=TRUE)</td></tr>
<tr class="memitem:a1f1259b67a26416f3ec17b29dea1a1d9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a1f1259b67a26416f3ec17b29dea1a1d9">drush_theme_enable</a> ($themes)</td></tr>
<tr class="memitem:a877e6dae2dc5b4ddd718f5a1ddb74cbc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a877e6dae2dc5b4ddd718f5a1ddb74cbc">drush_theme_disable</a> ($themes)</td></tr>
<tr class="memitem:a975e3ba204af989e2d81999eb87d3054"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a975e3ba204af989e2d81999eb87d3054">drush_theme_uninstall</a> ($themes)</td></tr>
<tr class="memitem:ae44a69423e59e63b8acd6dadc602081d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#ae44a69423e59e63b8acd6dadc602081d">drush_watchdog_severity_levels</a> ()</td></tr>
<tr class="memitem:ab162dcfd1b7a906f4097dc5e3d0ce5b5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#ab162dcfd1b7a906f4097dc5e3d0ce5b5">drush_watchdog_message_types</a> ()</td></tr>
<tr class="memitem:abacde91835b0ebfb947991dd6fcecfcc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abacde91835b0ebfb947991dd6fcecfcc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>_drush_theme_default</b> ()</td></tr>
<tr class="memitem:ab2c426530cc10f6e11b3ab4757d4ce57"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2c426530cc10f6e11b3ab4757d4ce57"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>_drush_theme_admin</b> ()</td></tr>
<tr class="memitem:a1d0724ad299d7de0c7e90cd52a60598e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d0724ad299d7de0c7e90cd52a60598e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>_drush_file_public_path</b> ()</td></tr>
<tr class="memitem:afaf9a126decf0d46065df12b14ab7d0d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afaf9a126decf0d46065df12b14ab7d0d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>_drush_file_private_path</b> ()</td></tr>
<tr class="memitem:a7fbf68cf166c5aa976911044a94a06af"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a7fbf68cf166c5aa976911044a94a06af">_drush_extension_get_name</a> ($info)</td></tr>
<tr class="memitem:aa061a03714dfbab1c44fcef58b440de5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#aa061a03714dfbab1c44fcef58b440de5">_drush_extension_get_type</a> ($info)</td></tr>
<tr class="memitem:a3a2d23907fbfa722e287ccadd5fe49ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="commands_2core_2drupal_2environment_8inc.html#a3a2d23907fbfa722e287ccadd5fe49ae">_drush_extension_get_path</a> ($info)</td></tr>
<tr class="memitem:a0828d4c74251fcd56f368a2ef019f602"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0828d4c74251fcd56f368a2ef019f602"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>drush_get_token</b> ($value=NULL)</td></tr>
<tr class="memitem:aea4e07eb47721e75764235d9da616d16"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea4e07eb47721e75764235d9da616d16"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>drush_url</b> ($path=NULL, array $options=array())</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Specific functions for a drupal 8+ environment. <a class="el" href="engines_8inc.html#a92390a2dd40c8ed5190be4af058813a8">drush_include_engine()</a> magically includes either this file or environment_X.inc depending on which version of drupal <a class="el" href="classDrush.html">Drush</a> is called from. </p>

<p>Definition in file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>
</div><h2>Function Documentation</h2>
<a class="anchor" id="a2a31a00ab3616a567f3dc116df687b09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_drupal_required_modules </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$module_info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns drupal required modules, including modules declared as required dynamically. </p>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00042">42</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

</div>
</div>
<a class="anchor" id="a7fbf68cf166c5aa976911044a94a06af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_extension_get_name </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets the extension name.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$info</td><td>The extension info. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string The extension name. </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00380">380</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>Referenced by <a class="el" href="includes_2environment_8inc_source.html#l00727">drush_extension_get_name()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_a7fbf68cf166c5aa976911044a94a06af_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_a7fbf68cf166c5aa976911044a94a06af_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_a7fbf68cf166c5aa976911044a94a06af_icgraph" id="commands_2core_2drupal_2environment_8inc_a7fbf68cf166c5aa976911044a94a06af_icgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a317a284967256e1c0452a13462388c21" title="drush_extension_get_name" alt="" coords="243,59,424,88"/><area shape="rect" id="node5" href="info_8pm_8inc.html#a0bf627d419ca89d4d9e5f0f3a54e457d" title="_drush_pm_info_extension" alt="" coords="473,59,649,88"/><area shape="rect" id="node7" href="info_8pm_8inc.html#ad8628d53d40f2db788ec0bec2f9ac62e" title="_drush_pm_info_module" alt="" coords="709,5,872,35"/><area shape="rect" id="node15" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="496,288,627,317"/><area shape="rect" id="node11" href="info_8pm_8inc.html#ac066152dd0bc2eed6c7284336aebe62e" title="_drush_pm_info_theme" alt="" coords="712,59,869,88"/><area shape="rect" id="node9" href="info_8pm_8inc.html#a979f36be571c082a364025ae4bce438b" title="drush_pm_info" alt="" coords="977,32,1084,61"/><area shape="rect" id="node17" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="712,111,869,158"/><area shape="rect" id="node21" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="720,181,861,211"/><area shape="rect" id="node23" href="group__extensions.html#gaea366ba3a9ac9138d35dc9e3523b47ea" title="pm_complete_projects" alt="" coords="715,235,867,264"/><area shape="rect" id="node33" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="724,288,857,317"/><area shape="rect" id="node35" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="711,341,871,371"/><area shape="rect" id="node37" href="updatestatus_8pm_8inc.html#a3572a412477acf53f0917d723fdfa3d9" title="drush_pm_updatestatus" alt="" coords="711,395,871,424"/><area shape="rect" id="node39" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3a7c4732945970745b0f33d58c68120f" title="Drush\\UpdateService\l\\StatusInfoDrush\\lastCheck" alt="" coords="699,447,883,494"/><area shape="rect" id="node41" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3904209a624d6aa8eb404b22a6160d68" title="Drush\\UpdateService\l\\StatusInfoDrush\\refresh" alt="" coords="708,517,873,563"/><area shape="rect" id="node19" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="956,112,1105,141"/><area shape="rect" id="node25" href="group__extensions.html#ga670a170ad2562529d58573ec2ed1ebe4" title="pm_pm_releasenotes\l_complete" alt="" coords="957,165,1104,211"/><area shape="rect" id="node27" href="group__extensions.html#ga78c34201d4460b12e4d9147016148a15" title="pm_pm_releases_complete" alt="" coords="940,235,1121,264"/><area shape="rect" id="node29" href="group__extensions.html#gaade766269d76ac34bc95d778f52bbc94" title="pm_pm_updatecode_complete" alt="" coords="932,288,1129,317"/><area shape="rect" id="node31" href="group__extensions.html#gac730d5229aef78e026d8383eeb0af375" title="pm_pm_update_complete" alt="" coords="945,341,1116,371"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3a2d23907fbfa722e287ccadd5fe49ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_extension_get_path </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets the extension path.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$info</td><td>The extension info. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string The extension path. </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00404">404</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>Referenced by <a class="el" href="generate_8make_8inc_source.html#l00044">_drush_make_generate_projects()</a>, and <a class="el" href="includes_2environment_8inc_source.html#l00753">drush_extension_get_path()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_a3a2d23907fbfa722e287ccadd5fe49ae_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_a3a2d23907fbfa722e287ccadd5fe49ae_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_a3a2d23907fbfa722e287ccadd5fe49ae_icgraph" id="commands_2core_2drupal_2environment_8inc_a3a2d23907fbfa722e287ccadd5fe49ae_icgraph">
<area shape="rect" id="node3" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="699,5,856,51"/><area shape="rect" id="node7" href="includes_2environment_8inc.html#a62a951f395505ed28ea3f0a5a108419c" title="drush_extension_get_path" alt="" coords="236,181,409,211"/><area shape="rect" id="node5" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="943,13,1092,43"/><area shape="rect" id="node9" href="generate_8make_8inc.html#afbe1b490c8c2f78c3ec0634b1903782f" title="_drush_generate_custom\l_project" alt="" coords="464,89,632,135"/><area shape="rect" id="node12" href="info_8pm_8inc.html#a0bf627d419ca89d4d9e5f0f3a54e457d" title="_drush_pm_info_extension" alt="" coords="460,480,636,509"/><area shape="rect" id="node21" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="483,181,613,211"/><area shape="rect" id="node46" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="460,235,636,264"/><area shape="rect" id="node14" href="info_8pm_8inc.html#ad8628d53d40f2db788ec0bec2f9ac62e" title="_drush_pm_info_module" alt="" coords="696,533,859,563"/><area shape="rect" id="node18" href="info_8pm_8inc.html#ac066152dd0bc2eed6c7284336aebe62e" title="_drush_pm_info_theme" alt="" coords="699,480,856,509"/><area shape="rect" id="node16" href="info_8pm_8inc.html#a979f36be571c082a364025ae4bce438b" title="drush_pm_info" alt="" coords="964,533,1071,563"/><area shape="rect" id="node24" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="707,373,848,403"/><area shape="rect" id="node26" href="group__extensions.html#gaea366ba3a9ac9138d35dc9e3523b47ea" title="pm_complete_projects" alt="" coords="701,427,853,456"/><area shape="rect" id="node36" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="711,75,844,104"/><area shape="rect" id="node38" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="697,128,857,157"/><area shape="rect" id="node40" href="updatestatus_8pm_8inc.html#a3572a412477acf53f0917d723fdfa3d9" title="drush_pm_updatestatus" alt="" coords="697,181,857,211"/><area shape="rect" id="node42" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3a7c4732945970745b0f33d58c68120f" title="Drush\\UpdateService\l\\StatusInfoDrush\\lastCheck" alt="" coords="685,234,869,281"/><area shape="rect" id="node44" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3904209a624d6aa8eb404b22a6160d68" title="Drush\\UpdateService\l\\StatusInfoDrush\\refresh" alt="" coords="695,303,860,350"/><area shape="rect" id="node28" href="group__extensions.html#ga670a170ad2562529d58573ec2ed1ebe4" title="pm_pm_releasenotes\l_complete" alt="" coords="944,303,1091,350"/><area shape="rect" id="node30" href="group__extensions.html#ga78c34201d4460b12e4d9147016148a15" title="pm_pm_releases_complete" alt="" coords="927,373,1108,403"/><area shape="rect" id="node32" href="group__extensions.html#gaade766269d76ac34bc95d778f52bbc94" title="pm_pm_updatecode_complete" alt="" coords="919,427,1116,456"/><area shape="rect" id="node34" href="group__extensions.html#gac730d5229aef78e026d8383eeb0af375" title="pm_pm_update_complete" alt="" coords="932,480,1103,509"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aa061a03714dfbab1c44fcef58b440de5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_extension_get_type </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gets the extension type.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$info</td><td>The extension info. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string The extension type. </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00392">392</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>Referenced by <a class="el" href="includes_2environment_8inc_source.html#l00740">drush_extension_get_type()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_aa061a03714dfbab1c44fcef58b440de5_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_aa061a03714dfbab1c44fcef58b440de5_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_aa061a03714dfbab1c44fcef58b440de5_icgraph" id="commands_2core_2drupal_2environment_8inc_aa061a03714dfbab1c44fcef58b440de5_icgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a5536e4ffcf1cdf1f176e15a3aed81af7" title="drush_extension_get_type" alt="" coords="236,214,409,244"/><area shape="rect" id="node5" href="generate_8make_8inc.html#afbe1b490c8c2f78c3ec0634b1903782f" title="_drush_generate_custom\l_project" alt="" coords="476,370,644,416"/><area shape="rect" id="node11" href="info_8pm_8inc.html#a979f36be571c082a364025ae4bce438b" title="drush_pm_info" alt="" coords="1189,104,1296,133"/><area shape="rect" id="node13" href="info_8pm_8inc.html#a0bf627d419ca89d4d9e5f0f3a54e457d" title="_drush_pm_info_extension" alt="" coords="713,50,889,80"/><area shape="rect" id="node21" href="group__extensions.html#ga293092b949a0837e3208f57ddb837c3c" title="_drush_pm_sort_extensions" alt="" coords="468,162,652,192"/><area shape="rect" id="node23" href="group__extensions.html#gad7c908db0c414731d0933c93c4b083ea" title="drush_get_extension\l_status" alt="" coords="489,42,631,88"/><area shape="rect" id="node26" href="pm_8drush_8inc.html#a61ebecaa80b51380169ddd81f751f0df" title="drush_pm_list" alt="" coords="751,106,852,136"/><area shape="rect" id="node28" href="group__extensions.html#ga703ad4f08aba6c5246dad9407119cc17" title="drush_pm_classify_extensions" alt="" coords="460,317,660,346"/><area shape="rect" id="node30" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="713,278,889,308"/><area shape="rect" id="node32" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="495,533,625,562"/><area shape="rect" id="node7" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="723,356,880,403"/><area shape="rect" id="node9" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="967,365,1116,394"/><area shape="rect" id="node15" href="info_8pm_8inc.html#ad8628d53d40f2db788ec0bec2f9ac62e" title="_drush_pm_info_module" alt="" coords="960,50,1123,80"/><area shape="rect" id="node18" href="info_8pm_8inc.html#ac066152dd0bc2eed6c7284336aebe62e" title="_drush_pm_info_theme" alt="" coords="963,104,1120,133"/><area shape="rect" id="node35" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="731,725,872,754"/><area shape="rect" id="node37" href="group__extensions.html#gaea366ba3a9ac9138d35dc9e3523b47ea" title="pm_complete_projects" alt="" coords="725,778,877,808"/><area shape="rect" id="node47" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="735,426,868,456"/><area shape="rect" id="node49" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="721,480,881,509"/><area shape="rect" id="node51" href="updatestatus_8pm_8inc.html#a3572a412477acf53f0917d723fdfa3d9" title="drush_pm_updatestatus" alt="" coords="721,533,881,562"/><area shape="rect" id="node53" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3a7c4732945970745b0f33d58c68120f" title="Drush\\UpdateService\l\\StatusInfoDrush\\lastCheck" alt="" coords="709,586,893,632"/><area shape="rect" id="node55" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3904209a624d6aa8eb404b22a6160d68" title="Drush\\UpdateService\l\\StatusInfoDrush\\refresh" alt="" coords="719,655,884,702"/><area shape="rect" id="node39" href="group__extensions.html#ga670a170ad2562529d58573ec2ed1ebe4" title="pm_pm_releasenotes\l_complete" alt="" coords="968,682,1115,728"/><area shape="rect" id="node41" href="group__extensions.html#ga78c34201d4460b12e4d9147016148a15" title="pm_pm_releases_complete" alt="" coords="951,752,1132,781"/><area shape="rect" id="node43" href="group__extensions.html#gaade766269d76ac34bc95d778f52bbc94" title="pm_pm_updatecode_complete" alt="" coords="943,805,1140,834"/><area shape="rect" id="node45" href="group__extensions.html#gac730d5229aef78e026d8383eeb0af375" title="pm_pm_update_complete" alt="" coords="956,858,1127,888"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab299b3b6652e7d6323a966b143980865"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_check_module_dependencies </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$modules</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$module_info</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return dependencies and its status for modules.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$modules</td><td>Array of module names </td></tr>
    <tr><td class="paramname">$module_info</td><td><a class="el" href="namespaceDrupal.html">Drupal</a> 'files' array for modules as returned by <a class="el" href="commands_2core_2drupal_2environment_8inc.html#a7bab407b662383206abfd7d40e129e10">drush_get_modules()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Array with dependencies and status for $modules </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00062">62</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>References <a class="el" href="includes_2environment_8inc_source.html#l00836">drush_get_drupal_core_compatibility()</a>, and <a class="el" href="output_8inc_source.html#l00149">dt()</a>.</p>

<p>Referenced by <a class="el" href="pm_8drush_8inc_source.html#l00979">drush_pm_enable_validate()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_ab299b3b6652e7d6323a966b143980865_cgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_ab299b3b6652e7d6323a966b143980865_cgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_ab299b3b6652e7d6323a966b143980865_cgraph" id="commands_2core_2drupal_2environment_8inc_ab299b3b6652e7d6323a966b143980865_cgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a02b3e67cdaf5abc38c32b207ba2aee60" title="drush_get_drupal_core\l_compatibility" alt="" coords="201,5,353,51"/><area shape="rect" id="node5" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="259,75,296,104"/><area shape="rect" id="node7" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="405,35,539,82"/><area shape="rect" id="node19" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="403,105,541,135"/><area shape="rect" id="node9" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="591,44,735,73"/><area shape="rect" id="node11" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="803,17,931,47"/><area shape="rect" id="node13" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="784,71,949,100"/><area shape="rect" id="node15" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="999,71,1100,100"/><area shape="rect" id="node17" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1151,71,1284,100"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_ab299b3b6652e7d6323a966b143980865_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_ab299b3b6652e7d6323a966b143980865_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_ab299b3b6652e7d6323a966b143980865_icgraph" id="commands_2core_2drupal_2environment_8inc_ab299b3b6652e7d6323a966b143980865_icgraph">
<area shape="rect" id="node3" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="200,13,376,43"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7bab407b662383206abfd7d40e129e10"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_modules </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$include_hidden</em> = <code>TRUE</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get complete information for all available modules.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$include_hidden</td><td>Boolean to indicate whether hidden modules should be excluded or not. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array containing module info for all available modules. </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00024">24</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>Referenced by <a class="el" href="includes_2environment_8inc_source.html#l00701">drush_get_extensions()</a>, and <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00171">drush_get_named_extensions_list()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_a7bab407b662383206abfd7d40e129e10_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_a7bab407b662383206abfd7d40e129e10_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_a7bab407b662383206abfd7d40e129e10_icgraph" id="commands_2core_2drupal_2environment_8inc_a7bab407b662383206abfd7d40e129e10_icgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a2f6ea049bc3f5361815aafe6f44a535d" title="drush_get_extensions" alt="" coords="224,575,373,605"/><area shape="rect" id="node57" href="commands_2core_2drupal_2environment_8inc.html#af33699eee70ef577f27d66c33f9f8a88" title="drush_get_named_extensions_list" alt="" coords="189,707,408,737"/><area shape="rect" id="node5" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="985,9,1135,38"/><area shape="rect" id="node7" href="info_8pm_8inc.html#a979f36be571c082a364025ae4bce438b" title="drush_pm_info" alt="" coords="757,522,864,551"/><area shape="rect" id="node9" href="group__extensions.html#ga7a2fb27ecd55a327d27d97a59a62c2d6" title="pm_complete_extensions" alt="" coords="473,679,644,709"/><area shape="rect" id="node19" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="493,277,624,306"/><area shape="rect" id="node40" href="updatestatus_8pm_8inc.html#a3572a412477acf53f0917d723fdfa3d9" title="drush_pm_updatestatus" alt="" coords="731,469,891,498"/><area shape="rect" id="node46" href="pm_8drush_8inc.html#a61ebecaa80b51380169ddd81f751f0df" title="drush_pm_list" alt="" coords="508,733,609,762"/><area shape="rect" id="node48" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="972,601,1148,630"/><area shape="rect" id="node50" href="pm_8drush_8inc.html#a5f41049d5b474b8d5bbbe9f161ac1c90" title="_drush_pm_expand_extensions" alt="" coords="456,575,661,605"/><area shape="rect" id="node11" href="group__extensions.html#gaa73b0927e4816cee72525c0cd11806cf" title="pm_pm_enable_complete" alt="" coords="725,679,896,709"/><area shape="rect" id="node13" href="group__extensions.html#gaf6c3c4950e28ca5c42a1acea642dc4dc" title="pm_pm_disable_complete" alt="" coords="724,733,897,762"/><area shape="rect" id="node15" href="group__extensions.html#gab04aadc8b47dfaea519eb7ba8a1f5987" title="pm_pm_uninstall_complete" alt="" coords="721,786,900,815"/><area shape="rect" id="node17" href="group__extensions.html#ga18cd171a0bb29c28004db2ed171d2ad1" title="pm_pm_info_complete" alt="" coords="735,839,887,869"/><area shape="rect" id="node21" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="732,47,889,93"/><area shape="rect" id="node24" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="740,117,881,146"/><area shape="rect" id="node26" href="group__extensions.html#gaea366ba3a9ac9138d35dc9e3523b47ea" title="pm_complete_projects" alt="" coords="735,170,887,199"/><area shape="rect" id="node36" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="744,223,877,253"/><area shape="rect" id="node38" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="731,277,891,306"/><area shape="rect" id="node42" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3a7c4732945970745b0f33d58c68120f" title="Drush\\UpdateService\l\\StatusInfoDrush\\lastCheck" alt="" coords="719,329,903,376"/><area shape="rect" id="node44" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3904209a624d6aa8eb404b22a6160d68" title="Drush\\UpdateService\l\\StatusInfoDrush\\refresh" alt="" coords="728,399,893,445"/><area shape="rect" id="node28" href="group__extensions.html#ga670a170ad2562529d58573ec2ed1ebe4" title="pm_pm_releasenotes\l_complete" alt="" coords="987,87,1133,133"/><area shape="rect" id="node30" href="group__extensions.html#ga78c34201d4460b12e4d9147016148a15" title="pm_pm_releases_complete" alt="" coords="969,157,1151,186"/><area shape="rect" id="node32" href="group__extensions.html#gaade766269d76ac34bc95d778f52bbc94" title="pm_pm_updatecode_complete" alt="" coords="961,210,1159,239"/><area shape="rect" id="node34" href="group__extensions.html#gac730d5229aef78e026d8383eeb0af375" title="pm_pm_update_complete" alt="" coords="975,263,1145,293"/><area shape="rect" id="node53" href="group__extensions.html#ga703ad4f08aba6c5246dad9407119cc17" title="drush_pm_classify_extensions" alt="" coords="711,575,911,605"/><area shape="rect" id="node59" href="pm_8drush_8inc.html#aa99b7d46939c1f550211d2c09a72b977" title="drush_pm_enable" alt="" coords="497,786,620,815"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af33699eee70ef577f27d66c33f9f8a88"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_named_extensions_list </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$extensions</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return a list of modules from a list of named modules. Both enabled and disabled/uninstalled modules are returned. </p>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00171">171</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>References <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00024">drush_get_modules()</a>, and <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00275">drush_get_themes()</a>.</p>

<p>Referenced by <a class="el" href="pm_8drush_8inc_source.html#l01141">drush_pm_enable()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_af33699eee70ef577f27d66c33f9f8a88_cgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_af33699eee70ef577f27d66c33f9f8a88_cgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_af33699eee70ef577f27d66c33f9f8a88_cgraph" id="commands_2core_2drupal_2environment_8inc_af33699eee70ef577f27d66c33f9f8a88_cgraph">
<area shape="rect" id="node3" href="commands_2core_2drupal_2environment_8inc.html#a7bab407b662383206abfd7d40e129e10" title="drush_get_modules" alt="" coords="273,5,407,35"/><area shape="rect" id="node5" href="commands_2core_2drupal_2environment_8inc.html#ad5a30ae04efcc0bd416f2c555bb7c144" title="drush_get_themes" alt="" coords="276,59,404,88"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_af33699eee70ef577f27d66c33f9f8a88_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_af33699eee70ef577f27d66c33f9f8a88_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_af33699eee70ef577f27d66c33f9f8a88_icgraph" id="commands_2core_2drupal_2environment_8inc_af33699eee70ef577f27d66c33f9f8a88_icgraph">
<area shape="rect" id="node3" href="pm_8drush_8inc.html#aa99b7d46939c1f550211d2c09a72b977" title="drush_pm_enable" alt="" coords="273,5,396,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad5a30ae04efcc0bd416f2c555bb7c144"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_themes </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$include_hidden</em> = <code>TRUE</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get complete information for all available themes.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$include_hidden</td><td>Boolean to indicate whether hidden themes should be excluded or not. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array containing theme info for all available themes. </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00275">275</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>Referenced by <a class="el" href="includes_2environment_8inc_source.html#l00701">drush_get_extensions()</a>, and <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00171">drush_get_named_extensions_list()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_ad5a30ae04efcc0bd416f2c555bb7c144_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_ad5a30ae04efcc0bd416f2c555bb7c144_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_ad5a30ae04efcc0bd416f2c555bb7c144_icgraph" id="commands_2core_2drupal_2environment_8inc_ad5a30ae04efcc0bd416f2c555bb7c144_icgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a2f6ea049bc3f5361815aafe6f44a535d" title="drush_get_extensions" alt="" coords="219,575,368,605"/><area shape="rect" id="node57" href="commands_2core_2drupal_2environment_8inc.html#af33699eee70ef577f27d66c33f9f8a88" title="drush_get_named_extensions_list" alt="" coords="184,707,403,737"/><area shape="rect" id="node5" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="980,9,1129,38"/><area shape="rect" id="node7" href="info_8pm_8inc.html#a979f36be571c082a364025ae4bce438b" title="drush_pm_info" alt="" coords="752,522,859,551"/><area shape="rect" id="node9" href="group__extensions.html#ga7a2fb27ecd55a327d27d97a59a62c2d6" title="pm_complete_extensions" alt="" coords="468,679,639,709"/><area shape="rect" id="node19" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="488,277,619,306"/><area shape="rect" id="node40" href="updatestatus_8pm_8inc.html#a3572a412477acf53f0917d723fdfa3d9" title="drush_pm_updatestatus" alt="" coords="725,469,885,498"/><area shape="rect" id="node46" href="pm_8drush_8inc.html#a61ebecaa80b51380169ddd81f751f0df" title="drush_pm_list" alt="" coords="503,733,604,762"/><area shape="rect" id="node48" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="967,601,1143,630"/><area shape="rect" id="node50" href="pm_8drush_8inc.html#a5f41049d5b474b8d5bbbe9f161ac1c90" title="_drush_pm_expand_extensions" alt="" coords="451,575,656,605"/><area shape="rect" id="node11" href="group__extensions.html#gaa73b0927e4816cee72525c0cd11806cf" title="pm_pm_enable_complete" alt="" coords="720,679,891,709"/><area shape="rect" id="node13" href="group__extensions.html#gaf6c3c4950e28ca5c42a1acea642dc4dc" title="pm_pm_disable_complete" alt="" coords="719,733,892,762"/><area shape="rect" id="node15" href="group__extensions.html#gab04aadc8b47dfaea519eb7ba8a1f5987" title="pm_pm_uninstall_complete" alt="" coords="716,786,895,815"/><area shape="rect" id="node17" href="group__extensions.html#ga18cd171a0bb29c28004db2ed171d2ad1" title="pm_pm_info_complete" alt="" coords="729,839,881,869"/><area shape="rect" id="node21" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="727,47,884,93"/><area shape="rect" id="node24" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="735,117,876,146"/><area shape="rect" id="node26" href="group__extensions.html#gaea366ba3a9ac9138d35dc9e3523b47ea" title="pm_complete_projects" alt="" coords="729,170,881,199"/><area shape="rect" id="node36" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="739,223,872,253"/><area shape="rect" id="node38" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="725,277,885,306"/><area shape="rect" id="node42" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3a7c4732945970745b0f33d58c68120f" title="Drush\\UpdateService\l\\StatusInfoDrush\\lastCheck" alt="" coords="713,329,897,376"/><area shape="rect" id="node44" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3904209a624d6aa8eb404b22a6160d68" title="Drush\\UpdateService\l\\StatusInfoDrush\\refresh" alt="" coords="723,399,888,445"/><area shape="rect" id="node28" href="group__extensions.html#ga670a170ad2562529d58573ec2ed1ebe4" title="pm_pm_releasenotes\l_complete" alt="" coords="981,87,1128,133"/><area shape="rect" id="node30" href="group__extensions.html#ga78c34201d4460b12e4d9147016148a15" title="pm_pm_releases_complete" alt="" coords="964,157,1145,186"/><area shape="rect" id="node32" href="group__extensions.html#gaade766269d76ac34bc95d778f52bbc94" title="pm_pm_updatecode_complete" alt="" coords="956,210,1153,239"/><area shape="rect" id="node34" href="group__extensions.html#gac730d5229aef78e026d8383eeb0af375" title="pm_pm_update_complete" alt="" coords="969,263,1140,293"/><area shape="rect" id="node53" href="group__extensions.html#ga703ad4f08aba6c5246dad9407119cc17" title="drush_pm_classify_extensions" alt="" coords="705,575,905,605"/><area shape="rect" id="node59" href="pm_8drush_8inc.html#aa99b7d46939c1f550211d2c09a72b977" title="drush_pm_enable" alt="" coords="492,786,615,815"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0f1f3aec07dd810ba186e3875002e9a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_dependents </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$modules</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$module_info</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return dependents of modules.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$modules</td><td>Array of module names </td></tr>
    <tr><td class="paramname">$module_info</td><td><a class="el" href="namespaceDrupal.html">Drupal</a> 'files' array for modules as returned by <a class="el" href="commands_2core_2drupal_2environment_8inc.html#a7bab407b662383206abfd7d40e129e10">drush_get_modules()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Array with dependents for each one of $modules </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00104">104</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

</div>
</div>
<a class="anchor" id="adb63382201b7c62d39825a77015cf2fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_disable </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$modules</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Disable a list of modules. It is assumed the list contains all dependents not already disabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$modules</td><td>Array of module names </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00214">214</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.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="commands_2core_2drupal_2environment_8inc_adb63382201b7c62d39825a77015cf2fc_cgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_adb63382201b7c62d39825a77015cf2fc_cgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_adb63382201b7c62d39825a77015cf2fc_cgraph" id="commands_2core_2drupal_2environment_8inc_adb63382201b7c62d39825a77015cf2fc_cgraph">
<area shape="rect" id="node3" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="205,106,317,135"/><area shape="rect" id="node24" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="243,220,280,250"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1007,80,1135,110"/><area shape="rect" id="node7" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="367,159,548,188"/><area shape="rect" id="node9" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="797,54,952,83"/><area shape="rect" id="node12" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="419,106,496,135"/><area shape="rect" id="node14" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="628,106,713,135"/><area shape="rect" id="node17" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="827,208,923,238"/><area shape="rect" id="node19" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1020,235,1121,264"/><area shape="rect" id="node21" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1185,235,1319,264"/><area shape="rect" id="node26" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="391,212,524,258"/><area shape="rect" id="node34" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="388,282,527,311"/><area shape="rect" id="node28" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="599,220,743,250"/><area shape="rect" id="node31" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="792,262,957,291"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="abfb699de57ec6ec22c83a4b0ab92ac4c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_enable </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$modules</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Enable a list of modules. It is assumed the list contains all the dependencies not already enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$modules</td><td>Array of module names </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00194">194</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>References <a class="el" href="Drush_8php_source.html#l00201">Drush\bootstrapManager()</a>, and <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00130">drush_module_install()</a>.</p>

<p>Referenced by <a class="el" href="pm_8drush_8inc_source.html#l01141">drush_pm_enable()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_abfb699de57ec6ec22c83a4b0ab92ac4c_cgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_abfb699de57ec6ec22c83a4b0ab92ac4c_cgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_abfb699de57ec6ec22c83a4b0ab92ac4c_cgraph" id="commands_2core_2drupal_2environment_8inc_abfb699de57ec6ec22c83a4b0ab92ac4c_cgraph">
<area shape="rect" id="node3" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="203,5,368,35"/><area shape="rect" id="node9" href="commands_2core_2drupal_2environment_8inc.html#a2840c8ae616c7375201184d9c053df09" title="drush_module_install" alt="" coords="213,59,357,88"/><area shape="rect" id="node5" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="417,5,519,35"/><area shape="rect" id="node7" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="569,5,703,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="commands_2core_2drupal_2environment_8inc_abfb699de57ec6ec22c83a4b0ab92ac4c_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_abfb699de57ec6ec22c83a4b0ab92ac4c_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_abfb699de57ec6ec22c83a4b0ab92ac4c_icgraph" id="commands_2core_2drupal_2environment_8inc_abfb699de57ec6ec22c83a4b0ab92ac4c_icgraph">
<area shape="rect" id="node3" href="pm_8drush_8inc.html#aa99b7d46939c1f550211d2c09a72b977" title="drush_pm_enable" alt="" coords="204,5,327,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a643d851fd8dc63ea2ce8cf67aa33098c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_exists </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$module</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Checks that a given module exists and is enabled.</p>
<dl class="section see"><dt>See Also</dt><dd>::moduleExists() </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00140">140</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>Referenced by <a class="el" href="DrupalBoot_8php_source.html#l00239">Drush\Boot\DrupalBoot\drush_enforce_requirement_drupal_dependencies()</a>, <a class="el" href="pm_8drush_8inc_source.html#l00658">drush_get_projects()</a>, <a class="el" href="drush_8api_8php_source.html#l00256">drush_hook_pre_pm_enable()</a>, <a class="el" href="engines_8inc_source.html#l00461">drush_load_engine()</a>, and <a class="el" href="git__drupalorg_8inc_source.html#l00013">package_handler_validate()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_a643d851fd8dc63ea2ce8cf67aa33098c_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_a643d851fd8dc63ea2ce8cf67aa33098c_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_a643d851fd8dc63ea2ce8cf67aa33098c_icgraph" id="commands_2core_2drupal_2environment_8inc_a643d851fd8dc63ea2ce8cf67aa33098c_icgraph">
<area shape="rect" id="node3" href="classDrush_1_1Boot_1_1DrupalBoot.html#af461d0bec99097433af929bf5a1addba" title="Drush\\Boot\\DrupalBoot\l\\drush_enforce_requirement\l_drupal_dependencies" alt="" coords="201,107,383,171"/><area shape="rect" id="node7" href="group__extensions.html#gadf92772f6521fbc75a53ccec7e5e007e" title="drush_get_projects" alt="" coords="227,304,357,333"/><area shape="rect" id="node35" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="200,465,384,495"/><area shape="rect" id="node37" href="engines_8inc.html#a8d6f32991f4806b9311373a0c9afcbd5" title="drush_load_engine" alt="" coords="227,661,357,691"/><area shape="rect" id="node97" href="git__drupalorg_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="207,715,377,744"/><area shape="rect" id="node5" href="classDrush_1_1Boot_1_1DrupalBoot.html#aaa1f074c0b674fe426347e7ae92ac0fa" title="Drush\\Boot\\DrupalBoot\l\\enforce_requirement" alt="" coords="445,5,603,51"/><area shape="rect" id="node9" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="445,74,603,121"/><area shape="rect" id="node13" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="453,144,595,173"/><area shape="rect" id="node15" href="group__extensions.html#gaea366ba3a9ac9138d35dc9e3523b47ea" title="pm_complete_projects" alt="" coords="448,197,600,227"/><area shape="rect" id="node25" href="pm_8drush_8inc.html#a6a5267ade011bc9e74e880668cff14af" title="drush_pm_releases" alt="" coords="457,251,591,280"/><area shape="rect" id="node27" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="444,304,604,333"/><area shape="rect" id="node29" href="updatestatus_8pm_8inc.html#a3572a412477acf53f0917d723fdfa3d9" title="drush_pm_updatestatus" alt="" coords="444,357,604,387"/><area shape="rect" id="node31" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3a7c4732945970745b0f33d58c68120f" title="Drush\\UpdateService\l\\StatusInfoDrush\\lastCheck" alt="" coords="432,410,616,457"/><area shape="rect" id="node33" href="classDrush_1_1UpdateService_1_1StatusInfoDrush.html#a3904209a624d6aa8eb404b22a6160d68" title="Drush\\UpdateService\l\\StatusInfoDrush\\refresh" alt="" coords="441,479,607,526"/><area shape="rect" id="node11" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="692,75,841,104"/><area shape="rect" id="node17" href="group__extensions.html#ga670a170ad2562529d58573ec2ed1ebe4" title="pm_pm_releasenotes\l_complete" alt="" coords="693,127,840,174"/><area shape="rect" id="node19" href="group__extensions.html#ga78c34201d4460b12e4d9147016148a15" title="pm_pm_releases_complete" alt="" coords="676,197,857,227"/><area shape="rect" id="node21" href="group__extensions.html#gaade766269d76ac34bc95d778f52bbc94" title="pm_pm_updatecode_complete" alt="" coords="668,251,865,280"/><area shape="rect" id="node23" href="group__extensions.html#gac730d5229aef78e026d8383eeb0af375" title="pm_pm_update_complete" alt="" coords="681,304,852,333"/><area shape="rect" id="node39" href="generate_8contents_8make_8inc.html#a6438e4c721b8177c7439acdea88a056b" title="make_generate_makefile\l_contents_yaml" alt="" coords="441,549,607,595"/><area shape="rect" id="node41" href="make_8drush_8inc.html#abd0153c5edcf3d4aaf9b04a5e2e44473" title="drush_make_convert\l_make_to_yml" alt="" coords="453,618,595,665"/><area shape="rect" id="node45" href="group__dispatching.html#gaec7e84c5668d8e13f33c948659112495" title="drush_handle_command\l_output" alt="" coords="443,687,605,734"/><area shape="rect" id="node51" href="engines_8inc.html#af4e4689479142932fa789c5e314d29e9" title="drush_load_command\l_engine" alt="" coords="449,757,599,803"/><area shape="rect" id="node73" href="group__outputfunctions.html#ga9949217d2df2776bd355c4a3d50bba79" title="drush_format" alt="" coords="475,941,573,971"/><area shape="rect" id="node89" href="preflight_8inc.html#ac5fea44d3fe064240192925f864d57a6" title="drush_preflight_command\l_dispatch" alt="" coords="439,1094,609,1141"/><area shape="rect" id="node43" href="make_8drush_8inc.html#ae88632c69815cc80a69bf4e19c53c753" title="drush_make_convert" alt="" coords="696,612,837,641"/><area shape="rect" id="node47" href="group__dispatching.html#gac0d79cc522d6f5cecf9f72ecc5ecceb8" title="_drush_invoke_hooks" alt="" coords="693,665,840,695"/><area shape="rect" id="node49" href="group__dispatching.html#gae7a7f1f4b8c5edffbc2ececc6638698a" title="drush_command" alt="" coords="933,657,1051,687"/><area shape="rect" id="node53" href="outputformat_8drush_8inc.html#a46f0ffb5f8bf676a5dfec452b083a9f2" title="drush_set_default_outputformat" alt="" coords="664,719,869,748"/><area shape="rect" id="node59" href="engines_8inc.html#a04e206fccfe9fe74aacda617336f5b87" title="drush_load_command\l_engines" alt="" coords="692,771,841,818"/><area shape="rect" id="node55" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="919,710,1065,757"/><area shape="rect" id="node57" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="1127,696,1268,725"/><area shape="rect" id="node61" href="group__dispatching.html#ga5db6ec7318291b3692bf905b87a9276b" title="drush_dispatch" alt="" coords="937,792,1047,821"/><area shape="rect" id="node63" href="topic_8drush_8inc.html#ae8a604f9b99910a82bc193b3d11490cc" title="drush_topic_core_topic" alt="" coords="1120,749,1275,779"/><area shape="rect" id="node65" href="group__dispatching.html#gad45b0ad6ccdc34ebb10d38d5c2d6a1d1" title="drush_invoke" alt="" coords="1148,803,1247,832"/><area shape="rect" id="node71" href="classDrush_1_1Boot_1_1BaseBoot.html#aba23d5e8ce54a9cccc926c176b9bb9eb" title="Drush\\Boot\\BaseBoot\l\\bootstrap_and_dispatch" alt="" coords="1116,855,1279,902"/><area shape="rect" id="node67" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="1329,776,1495,805"/><area shape="rect" id="node69" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="1365,829,1459,859"/><area shape="rect" id="node75" href="outputformat_8drush_8inc.html#a5322ccb6b5616adf4bb2e959e42a214c" title="outputformat_drush\l_engine_topic_additional_text" alt="" coords="671,841,863,887"/><area shape="rect" id="node77" href="group__outputfunctions.html#ga9bc1481d5e22b78b7fa386ff2d88b3a2" title="drush_print_format" alt="" coords="701,911,832,940"/><area shape="rect" id="node79" href="group__outputfunctions.html#ga0305cbdc9e5419a9a3a93dad342eb499" title="drush_key_value_to\l_array_table" alt="" coords="697,963,836,1010"/><area shape="rect" id="node85" href="group__outputfunctions.html#gae21dcb7f9594eefec94104dbe7cede09" title="drush_rows_of_key_value\l_to_array_table" alt="" coords="680,1033,853,1079"/><area shape="rect" id="node87" href="classUnish_1_1outputFormatUnitCase.html#a05a4cc3b83f8c8d48121fe7a508ebda2" title="Unish\\outputFormatUnitCase\l\\testOutputFormat" alt="" coords="671,1102,863,1149"/><area shape="rect" id="node81" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="924,972,1060,1001"/><area shape="rect" id="node83" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="1135,972,1260,1001"/><area shape="rect" id="node91" href="preflight_8inc.html#a2b642d2bbf815b6d80c315fd66b37381" title="drush_main" alt="" coords="723,1172,811,1201"/><area shape="rect" id="node93" href="startup_8inc.html#a9134f640e62d6ed6350a6feba22bd6aa" title="drush_run_main" alt="" coords="935,1172,1049,1201"/><area shape="rect" id="node95" href="startup_8inc.html#a92b9c55a835d9b622cc8828aaa7bbcc2" title="drush_startup" alt="" coords="1147,1172,1248,1201"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9536f3c3606578164e53a40820ca9bc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_implements </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$hook</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$sort</em> = <code>FALSE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$reset</em> = <code>FALSE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Determines which modules are implementing a hook.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">string</td><td class="paramname">$hook</td><td>The hook name. </td></tr>
    <tr><td class="paramtype">bool</td><td class="paramname">$sort</td><td>Not used in <a class="el" href="namespaceDrupal.html">Drupal</a> 8 environment. </td></tr>
    <tr><td class="paramtype">bool</td><td class="paramname">$reset</td><td>TRUE to reset the hook implementation cache.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd>::getImplementations(). </dd>
<dd>
::resetImplementations(). </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00158">158</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

</div>
</div>
<a class="anchor" id="a2840c8ae616c7375201184d9c053df09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_install </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$module_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$enable_dependencies</em> = <code>TRUE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Installs a given list of modules.</p>
<dl class="section see"><dt>See Also</dt><dd>::install() </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00130">130</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>Referenced by <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00194">drush_module_enable()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_a2840c8ae616c7375201184d9c053df09_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_a2840c8ae616c7375201184d9c053df09_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_a2840c8ae616c7375201184d9c053df09_icgraph" id="commands_2core_2drupal_2environment_8inc_a2840c8ae616c7375201184d9c053df09_icgraph">
<area shape="rect" id="node3" href="commands_2core_2drupal_2environment_8inc.html#abfb699de57ec6ec22c83a4b0ab92ac4c" title="drush_module_enable" alt="" coords="199,5,345,35"/><area shape="rect" id="node5" href="pm_8drush_8inc.html#aa99b7d46939c1f550211d2c09a72b977" title="drush_pm_enable" alt="" coords="396,5,519,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac59f8f6652c62778a23418a037d293e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_invoke </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$module</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$hook</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invokes a hook in a particular module. </p>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00237">237</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

</div>
</div>
<a class="anchor" id="a28a5df4f4cf276afe3f24adb34035733"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_invoke_all </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$hook</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Invokes a hook in all enabled modules that implement it. </p>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00248">248</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

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

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

</div>
</div>
<a class="anchor" id="aa53b2f8e66f3d43eb5d1dc16c1d97f94"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_list </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a list of enabled modules.</p>
<p>This is a wrapper for module_list(). </p>

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

<p>Referenced by <a class="el" href="pm_8drush_8inc_source.html#l00979">drush_pm_enable_validate()</a>, and <a class="el" href="pm_8drush_8inc_source.html#l01391">drush_pm_updatecode_postupdate()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_aa53b2f8e66f3d43eb5d1dc16c1d97f94_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_aa53b2f8e66f3d43eb5d1dc16c1d97f94_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_aa53b2f8e66f3d43eb5d1dc16c1d97f94_icgraph" id="commands_2core_2drupal_2environment_8inc_aa53b2f8e66f3d43eb5d1dc16c1d97f94_icgraph">
<area shape="rect" id="node3" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="181,5,357,35"/><area shape="rect" id="node5" href="pm_8drush_8inc.html#a46375206f98fbf1f6d5e5dc131d4d967" title="drush_pm_updatecode\l_postupdate" alt="" coords="193,58,345,105"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7d1f0d019005c0d633c8179e9be163cb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_module_uninstall </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$modules</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Uninstall a list of modules.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$modules</td><td>Array of module names</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd>::uninstall() </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00226">226</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>References <a class="el" href="Drush_8php_source.html#l00201">Drush\bootstrapManager()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_a7d1f0d019005c0d633c8179e9be163cb_cgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_a7d1f0d019005c0d633c8179e9be163cb_cgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_a7d1f0d019005c0d633c8179e9be163cb_cgraph" id="commands_2core_2drupal_2environment_8inc_a7d1f0d019005c0d633c8179e9be163cb_cgraph">
<area shape="rect" id="node3" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="213,5,379,35"/><area shape="rect" id="node5" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="428,5,529,35"/><area shape="rect" id="node7" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="580,5,713,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a877e6dae2dc5b4ddd718f5a1ddb74cbc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_theme_disable </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$themes</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Disable a list of themes.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$themes</td><td>Array of theme names. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00307">307</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.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="commands_2core_2drupal_2environment_8inc_a877e6dae2dc5b4ddd718f5a1ddb74cbc_cgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_a877e6dae2dc5b4ddd718f5a1ddb74cbc_cgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_a877e6dae2dc5b4ddd718f5a1ddb74cbc_cgraph" id="commands_2core_2drupal_2environment_8inc_a877e6dae2dc5b4ddd718f5a1ddb74cbc_cgraph">
<area shape="rect" id="node3" href="group__errorhandling.html#ga23fe9e1e8c1e5ade39256106044b6da4" title="drush_set_error" alt="" coords="200,106,312,135"/><area shape="rect" id="node24" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="237,220,275,250"/><area shape="rect" id="node5" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1001,80,1129,110"/><area shape="rect" id="node7" href="command_8inc.html#a19eba9666aba673a64fbd78a2c5ef4f9" title="drush_command_invoke_all" alt="" coords="361,159,543,188"/><area shape="rect" id="node9" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="792,54,947,83"/><area shape="rect" id="node12" href="group__logging.html#ga47324b65808524558a488916b150dd51" title="drush_log" alt="" coords="413,106,491,135"/><area shape="rect" id="node14" href="group__logging.html#ga10110f5007bd6fd1b7915e9dece4774f" title="_drush_log" alt="" coords="623,106,708,135"/><area shape="rect" id="node17" href="classDrush.html#aeda0f4644c7f586f873055d39dd755a5" title="Drush\\logger" alt="" coords="821,208,917,238"/><area shape="rect" id="node19" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="1015,235,1116,264"/><area shape="rect" id="node21" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="1180,235,1313,264"/><area shape="rect" id="node26" href="drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="385,212,519,258"/><area shape="rect" id="node34" href="group__outputfunctions.html#ga2391425402626377e6464f1f649f8c65" title="find_legacy_dt_args" alt="" coords="383,282,521,311"/><area shape="rect" id="node28" href="drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="593,220,737,250"/><area shape="rect" id="node31" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="787,262,952,291"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1f1259b67a26416f3ec17b29dea1a1d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_theme_enable </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$themes</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Enable a list of themes.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$themes</td><td>Array of theme names. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00297">297</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>Referenced by <a class="el" href="pm_8drush_8inc_source.html#l01141">drush_pm_enable()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_a1f1259b67a26416f3ec17b29dea1a1d9_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_a1f1259b67a26416f3ec17b29dea1a1d9_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_a1f1259b67a26416f3ec17b29dea1a1d9_icgraph" id="commands_2core_2drupal_2environment_8inc_a1f1259b67a26416f3ec17b29dea1a1d9_icgraph">
<area shape="rect" id="node3" href="pm_8drush_8inc.html#aa99b7d46939c1f550211d2c09a72b977" title="drush_pm_enable" alt="" coords="199,5,321,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a19545e0580af247ff2d6ecc55944a731"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_theme_list </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns a list of enabled themes. Use <a class="el" href="commands_2core_2drupal_2environment_8inc.html#ad5a30ae04efcc0bd416f2c555bb7c144">drush_get_themes()</a> if you need to rebuild and include hidden as well.</p>
<dl class="section return"><dt>Returns</dt><dd>[] A list of themes keyed by name. </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00262">262</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

</div>
</div>
<a class="anchor" id="a975e3ba204af989e2d81999eb87d3054"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_theme_uninstall </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$themes</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Uninstall a list of themes.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$themes</td><td>Array of theme names</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd>::uninstall() </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00319">319</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>References <a class="el" href="Drush_8php_source.html#l00201">Drush\bootstrapManager()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_a975e3ba204af989e2d81999eb87d3054_cgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_a975e3ba204af989e2d81999eb87d3054_cgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_a975e3ba204af989e2d81999eb87d3054_cgraph" id="commands_2core_2drupal_2environment_8inc_a975e3ba204af989e2d81999eb87d3054_cgraph">
<area shape="rect" id="node3" href="classDrush.html#a104f09419bc8a46c4bf205b49268b3a4" title="Drush\\bootstrapManager" alt="" coords="205,5,371,35"/><area shape="rect" id="node5" href="classDrush.html#a83560a0aab97e348848b3615f152af54" title="Drush\\service" alt="" coords="420,5,521,35"/><area shape="rect" id="node7" href="classDrush.html#abce7035069a9f7517f908b82bdd4dae0" title="Drush\\getContainer" alt="" coords="572,5,705,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab162dcfd1b7a906f4097dc5e3d0ce5b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_watchdog_message_types </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Helper function to obtain the message types based on drupal version.</p>
<dl class="section return"><dt>Returns</dt><dd>Array of watchdog message types. </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00351">351</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

</div>
</div>
<a class="anchor" id="ae44a69423e59e63b8acd6dadc602081d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_watchdog_severity_levels </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Helper function to obtain the severity levels based on <a class="el" href="namespaceDrupal.html">Drupal</a> version.</p>
<dl class="section return"><dt>Returns</dt><dd>array Watchdog severity levels keyed by RFC 3164 severities. </dd></dl>

<p>Definition at line <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html#l00332">332</a> of file <a class="el" href="commands_2core_2drupal_2environment_8inc_source.html">environment.inc</a>.</p>

<p>Referenced by <a class="el" href="drupal_8inc_source.html#l00078">system_watchdog()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="commands_2core_2drupal_2environment_8inc_ae44a69423e59e63b8acd6dadc602081d_icgraph.png" border="0" usemap="#commands_2core_2drupal_2environment_8inc_ae44a69423e59e63b8acd6dadc602081d_icgraph" alt=""/></div>
<map name="commands_2core_2drupal_2environment_8inc_ae44a69423e59e63b8acd6dadc602081d_icgraph" id="commands_2core_2drupal_2environment_8inc_ae44a69423e59e63b8acd6dadc602081d_icgraph">
<area shape="rect" id="node3" href="drupal_8inc.html#ac194fb53f4e5500f275a2debb0dfc608" title="system_watchdog" alt="" coords="224,13,352,43"/></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:18 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>