Skip to content
Snippets Groups Projects
Commit 0b6c7cbd authored by Liam Morland's avatar Liam Morland Committed by Kevin Paxman
Browse files

ISTWCMS-2505: Remove redundant comment

Not needed since 06258776.
parent 5f8c14f4
No related branches found
No related tags found
1 merge request!134ISTWCMS-4960: Use #access to remove parts of forms instead of unsetting them
...@@ -156,8 +156,7 @@ function uw_cfg_common_form_webform_settings_access_form_alter(array &$form, For ...@@ -156,8 +156,7 @@ function uw_cfg_common_form_webform_settings_access_form_alter(array &$form, For
* Configure admin/structure/webform/manage/WEBFORM_ID/settings/confirmation. * Configure admin/structure/webform/manage/WEBFORM_ID/settings/confirmation.
*/ */
function uw_cfg_common_form_webform_settings_confirmation_form_alter(array &$form, FormStateInterface $form_state, string $form_id): void { function uw_cfg_common_form_webform_settings_confirmation_form_alter(array &$form, FormStateInterface $form_state, string $form_id): void {
// Remove undesirable Webform submission confirmation types. These appear on // Remove undesirable Webform submission confirmation types.
// admin/structure/webform/manage/*/settings/confirmation.
// The 'modal' type is just a different way to display the message. Disable // The 'modal' type is just a different way to display the message. Disable
// for consistency. // for consistency.
unset($form['confirmation_type']['confirmation_type']['#options']['modal']); unset($form['confirmation_type']['confirmation_type']['#options']['modal']);
......
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