You are here

protected function SamlSpConfig::isOverridden in SAML Service Provider 8.3

Same name and namespace in other branches
  1. 8.2 src/Form/SamlSpConfig.php \Drupal\saml_sp\Form\SamlSpConfig::isOverridden()
  2. 4.x src/Form/SamlSpConfig.php \Drupal\saml_sp\Form\SamlSpConfig::isOverridden()
  3. 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.

4 calls to SamlSpConfig::isOverridden()
SamlSpConfig::buildForm in src/Form/SamlSpConfig.php
Form constructor.
SamlSpConfig::configRecurse in src/Form/SamlSpConfig.php
Recursively go through the set values to set the configuration.
SamlSpConfig::overriddenValue in src/Form/SamlSpConfig.php
Return the overridden value (if overridden)
SamlSpConfig::submitForm in src/Form/SamlSpConfig.php
Form submission handler.

File

src/Form/SamlSpConfig.php, line 33

Class

SamlSpConfig
Provides the configuration form.

Namespace

Drupal\saml_sp\Form

Code

protected function isOverridden($name) {
  return $this->configFactory
    ->get('saml_sp.settings')
    ->hasOverrides($name);
}