public function ConfigSplitCommands::postConfigExport in Configuration Split 2.0.x
React to the config export, write the splits to their storages.
@hook post-command config:export
File
- src/
Commands/ ConfigSplitCommands.php, line 130
Class
- ConfigSplitCommands
- The Drush 10 commands.
Namespace
Drupal\config_split\CommandsCode
public function postConfigExport($result, CommandData $commandData) {
// The config export command aborts if it is not exporting.
// So here we know that the config was exported, so we need to also export
// the split config to where they need to be.
$this->cliService
->postExportAll();
}