public function WebformThirdPartySettingsManager::getThirdPartySetting in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformThirdPartySettingsManager.php \Drupal\webform\WebformThirdPartySettingsManager::getThirdPartySetting()
Gets the value of a third-party setting.
Parameters
string $module: The module providing the third-party setting.
string $key: The setting name.
mixed $default: The default value
Return value
mixed The value.
Overrides ThirdPartySettingsInterface::getThirdPartySetting
File
- src/
WebformThirdPartySettingsManager.php, line 110
Class
- WebformThirdPartySettingsManager
- Webform third party settings manager.
Namespace
Drupal\webformCode
public function getThirdPartySetting($module, $key, $default = NULL) {
$value = $this->config
->get("third_party_settings.{$module}.{$key}");
return isset($value) ? $value : $default;
}