You are here

public function CMSContentSyncCommands::configuration_export in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Commands/CMSContentSyncCommands.php \Drupal\cms_content_sync\Commands\CMSContentSyncCommands::configuration_export()
  2. 2.0.x src/Commands/CMSContentSyncCommands.php \Drupal\cms_content_sync\Commands\CMSContentSyncCommands::configuration_export()

Export the configuration to the Sync Core.

@command cms_content_sync:configuration-export

@aliases cse csce

@options force Whether to ignore that another site is already using the same site ID. Useful if you change the URL of a site.

Parameters

array $options:

Throws

\Exception

File

src/Commands/CMSContentSyncCommands.php, line 49

Class

CMSContentSyncCommands
Content Sync Drush Commands.

Namespace

Drupal\cms_content_sync\Commands

Code

public function configuration_export($options = [
  'force' => false,
]) {
  $this->cliService
    ->configuration_export($this
    ->io(), $options);
}