function pm_complete_projects

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

List projects for completion.

Return value

Array of installed projects.

Related topics

4 calls to pm_complete_projects()
pm_pm_releasenotes_complete in commands/pm/pm.drush.inc
Command argument complete callback.
pm_pm_releases_complete in commands/pm/pm.drush.inc
Command argument complete callback.
pm_pm_updatecode_complete in commands/pm/pm.drush.inc
Command argument complete callback.
pm_pm_update_complete in commands/pm/pm.drush.inc
Command argument complete callback.

File

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

Code

function pm_complete_projects() {
  if (drush_bootstrap_max(DRUSH_BOOTSTRAP_DRUPAL_FULL)) {
    return array('values' => array_keys(drush_get_projects()));
  }
}