You are here

function webform_update_8162 in Webform 6.x

Same name and namespace in other branches
  1. 8.5 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();
}