Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_cfg_common
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_cfg_common
Commits
0b6c7cbd
Commit
0b6c7cbd
authored
3 years ago
by
Liam Morland
Committed by
Kevin Paxman
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-2505: Remove redundant comment
Not needed since
06258776
.
parent
5f8c14f4
No related branches found
No related tags found
1 merge request
!134
ISTWCMS-4960: Use #access to remove parts of forms instead of unsetting them
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uw_cfg_common.module
+1
-2
1 addition, 2 deletions
uw_cfg_common.module
with
1 addition
and
2 deletions
uw_cfg_common.module
+
1
−
2
View file @
0b6c7cbd
...
@@ -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'
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment