function drush_get_modules

8.0.x environment_7.inc drush_get_modules($include_hidden = TRUE)
8.0.x environment_6.inc drush_get_modules($include_hidden = TRUE)
8.0.x environment.inc drush_get_modules($include_hidden = TRUE)
6.x environment_6.inc drush_get_modules($include_hidden = TRUE)
6.x environment.inc drush_get_modules($include_hidden = TRUE)
6.x environment_7.inc drush_get_modules($include_hidden = TRUE)
7.x environment_7.inc drush_get_modules($include_hidden = TRUE)
7.x environment_6.inc drush_get_modules($include_hidden = TRUE)
7.x environment.inc drush_get_modules($include_hidden = TRUE)
3.x environment_7.inc drush_get_modules()
3.x environment_6.inc drush_get_modules()
3.x environment_5.inc drush_get_modules()
4.x environment_6.inc drush_get_modules()
4.x environment_5.inc drush_get_modules()
4.x environment.inc drush_get_modules()
5.x environment_6.inc drush_get_modules($include_hidden = TRUE)
5.x environment.inc drush_get_modules($include_hidden = TRUE)
master environment_7.inc drush_get_modules($include_hidden = TRUE)
master environment.inc drush_get_modules($include_hidden = TRUE)

Get complete information for all available modules.

Return value

An array containing module info for all installed modules.

4 calls to drush_get_modules()
drush_get_projects in includes/environment.inc
Get complete information for all available modules and themes.
drush_pm_disable in commands/pm/pm.drush.inc
Command callback. Disable one or more projects.
drush_pm_enable in commands/pm/pm.drush.inc
Command callback. Enable one or more projects.
drush_pm_uninstall in commands/pm/pm.drush.inc
Command callback. Uninstall one or more modules. // TODO: Use drupal_execute on system_modules_uninstall_confirm_form so that input is validated.

File

commands/core/drupal/environment_7.inc, line 16
Specific functions for a drupal 5 environment. drush_include_engine() magically includes either this file or environment_X.inc depending on which version of drupal drush is called from.

Code

function drush_get_modules() {
  return system_rebuild_module_data();
}