public function YamlFormThirdPartySettingsManager::setThirdPartySetting in YAML Form 8
Sets the value of a third-party setting.
Parameters
string $module: The module providing the third-party setting.
string $key: The setting name.
mixed $value: The setting value.
Return value
$this
Overrides ThirdPartySettingsInterface::setThirdPartySetting
File
- src/
YamlFormThirdPartySettingsManager.php, line 145
Class
- YamlFormThirdPartySettingsManager
- Form third party settings manager.
Namespace
Drupal\yamlformCode
public function setThirdPartySetting($module, $key, $value) {
$this->config
->set("third_party_settings.{$module}.{$key}", $value);
return $this;
}