diff --git a/uw_cfg_common.module b/uw_cfg_common.module index 12295bf983eac3e7a66a1c113534f445db26d0c0..0bc3ee953fb1637706a2fc7e816d7125c5d4c642 100644 --- a/uw_cfg_common.module +++ b/uw_cfg_common.module @@ -380,7 +380,7 @@ function uw_cfg_common_webform_create(WebformInterface $webform) { // On admin/structure/webform/manage/FORM/settings/confirmation, default // "Confirmation type" to "inline". - $webform->setSetting('confirmation_type', 'inline'); + $webform->setSetting('confirmation_type', WebformInterface::CONFIRMATION_INLINE); // Set so that uw_cfg_common_webform_build_access_denied_alter() will run. // This value is tested for in Webform::preRenderWebformElement().