function _drush_cm_get_configuration_path

7.x config.drush.inc _drush_cm_get_configuration_path(&$merge_info)

File

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

Code

function _drush_cm_get_configuration_path(&$merge_info) {
  // Find the current configuration path
  if (!isset($merge_info['configuration_path'])) {
    // Get the configuration path from the local site.
    $merge_info['configuration_path'] = config_get_config_directory($merge_info['config-label']);
  }
  return $merge_info['configuration_path'];
}