protected function SamlSpConfig::isOverridden in SAML Service Provider 8.2
Same name and namespace in other branches
- 8.3 src/Form/SamlSpConfig.php \Drupal\saml_sp\Form\SamlSpConfig::isOverridden()
- 4.x src/Form/SamlSpConfig.php \Drupal\saml_sp\Form\SamlSpConfig::isOverridden()
- 3.x src/Form/SamlSpConfig.php \Drupal\saml_sp\Form\SamlSpConfig::isOverridden()
Check if config variable is overridden by the settings.php.
Parameters
string $name: SAML SP settings key.
Return value
bool Boolean.
1 call to SamlSpConfig::isOverridden()
- SamlSpConfig::buildForm in src/
Form/ SamlSpConfig.php - Form constructor.
File
- src/
Form/ SamlSpConfig.php, line 34 - Contains \Drupal\saml_sp\Form\SamlSpConfigSPForm.
Class
Namespace
Drupal\saml_sp\FormCode
protected function isOverridden($name) {
$original = $this->configFactory
->getEditable('saml_sp.settings')
->get($name);
$current = $this->configFactory
->get('saml_sp.settings')
->get($name);
return $original != $current;
}