public function ConfigSplitManager::singleExportTarget in Configuration Split 2.0.x
Get the single export target.
Parameters
\Drupal\Core\Config\ImmutableConfig $split: The split config.
Return value
\Drupal\Core\Config\StorageInterface The single export target.
File
- src/
ConfigSplitManager.php, line 571
Class
- ConfigSplitManager
- The manager to split and merge.
Namespace
Drupal\config_splitCode
public function singleExportTarget(ImmutableConfig $split) : StorageInterface {
$permanent = $this
->getSplitStorage($split, $this->sync);
if ($permanent === NULL) {
throw new \RuntimeException();
}
return $permanent;
}