function webform_update_8162 in Webform 8.5
Same name and namespace in other branches
- 6.x includes/webform.install.update.inc \webform_update_8162()
Issue #3035054: Captcha challenge still visible after 'close time'.
File
- includes/
webform.install.update.inc, line 3090 - Archived Webform update hooks.
Code
function webform_update_8162() {
\Drupal::configFactory()
->getEditable('webform.settings')
->set('third_party_settings.captcha', [
'replace_administration_mode' => TRUE,
])
->save();
}