function core_site_install_complete

8.0.x core.drush.inc core_site_install_complete()
6.x core.drush.inc core_site_install_complete()
7.x core.drush.inc core_site_install_complete()
5.x core.drush.inc core_site_install_complete()
master core.drush.inc core_site_install_complete()

Command argument complete callback.

Return value

Array of available profile names.

File

commands/core/core.drush.inc, line 382
Core drush commands.

Code

function core_site_install_complete() {
  $max = drush_bootstrap_max(DRUSH_BOOTSTRAP_DRUPAL_ROOT);
  if ($max >= DRUSH_BOOTSTRAP_DRUPAL_ROOT) {
    return array('values' => array_keys(drush_find_profiles(DRUPAL_ROOT)));
  }
}