function _drush_config_directories_complete

8.0.x config.drush.inc _drush_config_directories_complete()
7.x config.drush.inc _drush_config_directories_complete()
master config.drush.inc _drush_config_directories_complete()

Helper function for command argument complete callback.

Return value

Array of available config directories.

2 calls to _drush_config_directories_complete()
config_config_export_complete in commands/core/config.drush.inc
Command argument complete callback.
config_config_import_complete in commands/core/config.drush.inc
Command argument complete callback.

File

commands/core/config.drush.inc, line 999
Provides Configuration Management commands.

Code

function _drush_config_directories_complete() {
  drush_bootstrap_max(DRUSH_BOOTSTRAP_DRUPAL_CONFIGURATION);
  global $config_directories;
  return array('values' => array_keys($config_directories));
}