function _drush_cm_export_local_configuration

7.x config.drush.inc _drush_cm_export_local_configuration(&$merge_info)
1 call to _drush_cm_export_local_configuration()

File

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

Code

function _drush_cm_export_local_configuration(&$merge_info) {
  // Run drush @dev cex label
  $values = drush_invoke_process($merge_info['dev-site'], 'config-export', array($merge_info['config_label']));
  if ($values['error_status']) {
    return drush_set_error('DRUSH_CONFIG_MERGE_CANNOT_EXPORT', dt("Could not export configuration for site !site", array('!site' => $merge_info['dev-site'])));
  }
}