public function CMSContentSyncCommands::configuration_export in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 src/Commands/CMSContentSyncCommands.php \Drupal\cms_content_sync\Commands\CMSContentSyncCommands::configuration_export()
- 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\CommandsCode
public function configuration_export($options = [
'force' => false,
]) {
$this->cliService
->configuration_export($this
->io(), $options);
}