protected function ConfigSplitCliService::getDestination in Configuration Split 8
Returns the directory path to export or "database".
Parameters
string $config_name: The configuration name.
Return value
string The destination.
2 calls to ConfigSplitCliService::getDestination()
- ConfigSplitCliService::ioExport in src/
ConfigSplitCliService.php - Handle the export interaction.
- ConfigSplitCliService::ioImport in src/
ConfigSplitCliService.php - Handle the import interaction.
File
- src/
ConfigSplitCliService.php, line 417
Class
- ConfigSplitCliService
- The CLI service class for interoperability.
Namespace
Drupal\config_splitCode
protected function getDestination($config_name) {
$destination = $this->configManager
->getConfigFactory()
->get($config_name)
->get('folder');
if ($destination == '') {
$destination = 'dedicated database table.';
}
return $destination;
}