You are here

function openid_connect_update_8103 in OpenID Connect / OAuth client 8

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

Update the active config with the registration override value.

File

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

Code

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