Skip to content
Snippets Groups Projects
Commit 9e8b7107 authored by Liam Morland's avatar Liam Morland Committed by Lily Yan
Browse files

Improve comments

parent 41e42ce5
No related branches found
No related tags found
1 merge request!193ISTWCMS-5252: Set all Webforms to use the access denied page
...@@ -447,6 +447,8 @@ function uw_cfg_common_webform_create(WebformInterface $webform) { ...@@ -447,6 +447,8 @@ 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().
// This value appears on
// admin/structure/webform/manage/WEBFORM_ID/settings/form.
$webform->setSetting('form_access_denied', WebformInterface::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