function _drush_config_names_complete

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

Helper function for command argument complete callback.

Return value

Array of available config names.

4 calls to _drush_config_names_complete()
config_config_edit_complete in commands/core/config.drush.inc
Command argument complete callback.
config_config_get_complete in commands/core/config.drush.inc
Command argument complete callback.
config_config_set_complete in commands/core/config.drush.inc
Command argument complete callback.
config_config_view_complete in commands/core/config.drush.inc
Command argument complete callback.

File

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

Code

function _drush_config_names_complete() {
  drush_bootstrap_max();
  return array('values' => $storage = \Drupal::service('config.storage')->listAll());
}