function drush_get_extensions

8.0.x environment.inc drush_get_extensions($include_hidden = TRUE)
6.x environment.inc drush_get_extensions($include_hidden = TRUE)
7.x environment.inc drush_get_extensions($include_hidden = TRUE)
4.x environment.inc drush_get_extensions()
5.x environment.inc drush_get_extensions($include_hidden = TRUE)
master environment.inc drush_get_extensions($include_hidden = TRUE)

Get complete information for all available extensions (modules and themes).

Return value

An array containing info for all available extensions.

7 calls to drush_get_extensions()
drush_get_projects in commands/pm/pm.drush.inc
Obtain an array of installed projects off the extensions available.
drush_pm_disable in commands/pm/pm.drush.inc
Command callback. Disable one or more extensions.
drush_pm_enable_validate in commands/pm/pm.drush.inc
Validate callback. Determine the modules and themes that the user would like enabled.
drush_pm_get_extensions in commands/pm/pm.drush.inc
Wrapper of drupal_get_extensions() with additional information used by pm- commands.
drush_pm_updatecode in commands/pm/updatecode.pm.inc
Command callback. Displays update status info and allows to update installed projects. Pass specific projects as arguments, otherwise we update all that have candidate releases.

... See full list

File

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

Code

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