function autologout_update_8003 in Automated Logout 8
Store default value for setting 'Disable user-specific logout thresholds'.
File
- ./
autologout.install, line 52 - Install and update functions for the autologout module.
Code
function autologout_update_8003(&$sandbox) {
$config_factory = \Drupal::configFactory();
$config = $config_factory
->getEditable('autologout.settings');
$config
->set('no_individual_logout_threshold', FALSE);
$config
->save(TRUE);
}