You are here

function openid_connect_update_8104 in OpenID Connect / OAuth client 2.x

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

Update the active config with the connect existing users value.

File

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

Code

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