You are here

function openid_connect_update_8103 in OpenID Connect / OAuth client 2.x

Same name and namespace in other branches
  1. 8 openid_connect.install \openid_connect_update_8103()

Update the active config with the registration override value.

File

./openid_connect.install, line 55
Install, update and uninstall functions for the OpenID Connect module.

Code

function openid_connect_update_8103() {
  $config = \Drupal::configFactory()
    ->getEditable('openid_connect.settings');
  $config
    ->set('override_registration_settings', FALSE);
  $config
    ->save(TRUE);
}