You are here

function openid_connect_update_8209 in OpenID Connect / OAuth client 2.x

Set default value for end_session_enabled setting.

File

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

Code

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