Closed flochntrl closed 1 year ago
Hi @flochntrl,
You can still load the value using the repository and update its value.
$setting = $this->settingRepository->findOneBy([
'vendor' => $vendor,
'plugin' => $plugin,
'path' => $path,
'localeCode' => $localeCode,
'channel' => $channelCode,
]);
$setting->setValue('foo');
$this->settingRepository->persist($setting);
$this->settingRepository->flush();
It could be great to have a method to update a setting in a service