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

ISTWCMS-5174: Use WebformInterface::ACCESS_DENIED_PAGE

String had been added in 830539ba.
parent 59fda418
No related branches found
No related tags found
1 merge request!173ISTWCMS-5174: Use WebformInterface::ACCESS_DENIED_PAGE
...@@ -384,7 +384,7 @@ function uw_cfg_common_webform_create(WebformInterface $webform) { ...@@ -384,7 +384,7 @@ function uw_cfg_common_webform_create(WebformInterface $webform) {
// 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().
$webform->setSetting('form_access_denied', 'page'); $webform->setSetting('form_access_denied', WebformInterface::ACCESS_DENIED_PAGE);
} }
/** /**
......
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