protected function SamlSpConfigSPForm::configRecurse in SAML Service Provider 7.8
recursively go through the set values to set the configuration
1 call to SamlSpConfigSPForm::configRecurse()
- SamlSpConfigSPForm::submitForm in src/
Form/ SamlSpConfigSPForm.php  
File
- src/
Form/ SamlSpConfigSPForm.php, line 63  - Contains \Drupal\saml_sp\Form\SamlSpConfigSPForm.
 
Class
Namespace
Drupal\saml_sp\FormCode
protected function configRecurse($config, $values, $base = '') {
  foreach ($values as $var => $value) {
    if (!empty($base)) {
      $v = $base . '.' . $var;
    }
    else {
      $v = $var;
    }
    if (!is_array($value)) {
      $config
        ->set($v, $value);
    }
    else {
      $this
        ->configRecurse($config, $value, $v);
    }
  }
}