You are here

function yamlform_update_8070 in YAML Form 8

Issue #2828138: Disable the previous functionality for a wizard page.

File

includes/yamlform.update.inc, line 1398
YAML Form module update hooks.

Code

function yamlform_update_8070(&$sandbox) {

  // Update 'yamlform.settings' configuration.
  $settings_config = \Drupal::configFactory()
    ->getEditable('yamlform.settings');
  $settings_config
    ->set('settings.default_form_disable_back', FALSE);
  $settings_config
    ->save();

  // Update 'yamlform.yamlform.*' configuration.
  _yamlform_update_form_settings();
}