function pm_complete_extensions

8.0.x pm.drush.inc pm_complete_extensions()
6.x pm.drush.inc pm_complete_extensions()
7.x pm.drush.inc pm_complete_extensions()
5.x pm.drush.inc pm_complete_extensions()
master pm.drush.inc pm_complete_extensions()

List extensions for completion.

Return value

Array of available extensions.

Related topics

4 calls to pm_complete_extensions()
pm_pm_disable_complete in commands/pm/pm.drush.inc
Command argument complete callback.
pm_pm_enable_complete in commands/pm/pm.drush.inc
Command argument complete callback.
pm_pm_info_complete in commands/pm/pm.drush.inc
Command argument complete callback.
pm_pm_uninstall_complete in commands/pm/pm.drush.inc
Command argument complete callback.

File

commands/pm/pm.drush.inc, line 555
The drush Project Manager

Code

function pm_complete_extensions() {
  if (drush_bootstrap_max(DRUSH_BOOTSTRAP_DRUPAL_FULL)) {
    $extension_info = drush_get_extensions(FALSE);
    return array('values' => array_keys($extension_info));
  }
}