function drush_get_extensions

8.0.x drush_get_extensions($include_hidden = TRUE)
6.x drush_get_extensions($include_hidden = TRUE)
7.x drush_get_extensions($include_hidden = TRUE)
4.x drush_get_extensions()
5.x drush_get_extensions($include_hidden = TRUE)
master 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/
Obtain an array of installed projects off the extensions available.
drush_pm_disable in commands/pm/
Command callback. Disable one or more extensions.
drush_pm_enable_validate in commands/pm/
Validate callback. Determine the modules and themes that the user would like enabled.
drush_pm_get_extensions in commands/pm/
Wrapper of drupal_get_extensions() with additional information used by pm- commands.
drush_pm_updatecode in commands/pm/
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


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


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