function drush_get_projects

8.0.x pm.drush.inc drush_get_projects(&$extensions = NULL)
6.x pm.drush.inc drush_get_projects(&$extensions = NULL)
7.x pm.drush.inc drush_get_projects(&$extensions = NULL)
3.x environment.inc drush_get_projects()
4.x pm.drush.inc drush_get_projects(&$extensions = NULL)
5.x pm.drush.inc drush_get_projects(&$extensions = NULL)
master pm.drush.inc drush_get_projects(&$extensions = NULL)

Get complete information for all available modules and themes.

Return value

An array containing info for all available modules and themes.

7 calls to drush_get_projects()
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_get_projects in commands/pm/pm.drush.inc
Wrapper of drupal_get_projects() with additional information used by pm- commands.
drush_pm_releases in commands/pm/pm.drush.inc
A drush command callback. Show release info for given project(s).
update_main_prepare in commands/core/drupal/update_6.inc

... See full list

File

includes/environment.inc, line 1038
Functions used by drush to query the environment and setting the current configuration.

Code

function drush_get_projects() {
  drush_include_engine('drupal', 'environment');
  return array_merge(drush_get_modules(), drush_get_themes());
}