Skip to content
Snippets Groups Projects
Commit feff429e authored by Liam Morland's avatar Liam Morland
Browse files

ISTWCMS-4882: Use WebformInterface::CONFIRMATION_INLINE

Correction of 7ebc8ddd.
parent 9785571e
No related branches found
No related tags found
1 merge request!170ISTWCMS-4882: Use WebformInterface::CONFIRMATION_INLINE
...@@ -380,7 +380,7 @@ function uw_cfg_common_webform_create(WebformInterface $webform) { ...@@ -380,7 +380,7 @@ function uw_cfg_common_webform_create(WebformInterface $webform) {
// On admin/structure/webform/manage/FORM/settings/confirmation, default // On admin/structure/webform/manage/FORM/settings/confirmation, default
// "Confirmation type" to "inline". // "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. // Set so that uw_cfg_common_webform_build_access_denied_alter() will run.
// This value is tested for in Webform::preRenderWebformElement(). // This value is tested for in Webform::preRenderWebformElement().
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment