public function delete(string
$key, ?string
$salesChannel = null
): void
{ $this->
setMultiple([$key => null
],
$salesChannel);
} /**
* Fetches default values from bundle configuration and saves it to database
*/
public function savePluginConfiguration(Bundle
$bundle, bool
$override = false
): void
{ try { $config =
$this->configReader->
getConfigFromBundle($bundle);
} catch (BundleConfigNotFoundException
) { return;
} $prefix =
$bundle->
getName() . '.config.';
$this->
saveConfig($config,
$prefix,
$override);
} /**
* @param array<mixed> $config
*/