Skip to content
Snippets Groups Projects
Commit 2fb81d16 authored by Adriano Cori's avatar Adriano Cori Committed by Adriano Cori
Browse files

Issue #3009623 by aronne: How to add configuration values to service?

parent 9db9cf35
No related branches found
No related tags found
No related merge requests found
...@@ -164,7 +164,7 @@ class HttpClientManagerConfigForm extends ConfigFormBase { ...@@ -164,7 +164,7 @@ class HttpClientManagerConfigForm extends ConfigFormBase {
$overrides = $form_state->getValue('overrides'); $overrides = $form_state->getValue('overrides');
foreach ($overrides as $id => $override) { foreach ($overrides as $id => $override) {
foreach (['config', 'commands'] as $setting) { foreach (['config', 'commands'] as $setting) {
if (!empty($config)) { if (!empty($setting)) {
try { try {
$overrides[$id][$setting] = Yaml::decode($overrides[$id][$setting]); $overrides[$id][$setting] = Yaml::decode($overrides[$id][$setting]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment