You are here

function webform_update_8113 in Webform 6.x

Same name and namespace in other branches
  1. 8.5 includes/webform.install.update.inc \webform_update_8113()

Issue #2951001: Convert About section into Contribute section.

File

includes/webform.install.update.inc, line 2097
Archived Webform update hooks.

Code

function webform_update_8113() {
  $config = \Drupal::configFactory()
    ->getEditable('webform.settings');
  $config
    ->set('ui.contribute_disabled', $config
    ->get('ui.about_disabled') ?: FALSE);
  $config
    ->save();
}