function ldap_sso_update_8007 in LDAP Single Sign On 8
Same name and namespace in other branches
- 8.4 ldap_sso.install \ldap_sso_update_8007()
Fix remaining non-boolean configuration fields.
File
- ./
ldap_sso.install, line 98 - Update calls for ldap_sso.
Code
function ldap_sso_update_8007() {
$config_factory = \Drupal::configFactory();
$config = $config_factory
->getEditable('ldap_sso.settings');
$config
->set('seamlessLogin', (bool) $config
->get('seamlessLogin'));
$config
->set('ssoRemoteUserStripDomainName', (bool) $config
->get('ssoRemoteUserStripDomainName'));
$config
->save(TRUE);
}