Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_sites_all
Commits
51cec73d
Commit
51cec73d
authored
Jul 20, 2020
by
Liam Morland
Browse files
ISTWCMS-3904: Remove default "contact" form
parent
455ea675
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
uw_sites_all.install
uw_sites_all.install
+3
-0
No files found.
uw_sites_all.install
View file @
51cec73d
...
...
@@ -31,6 +31,9 @@ function uw_sites_all_install() {
// Set it as the admin theme.
$config
=
\
Drupal
::
service
(
'config.factory'
)
->
getEditable
(
'system.theme'
);
$config
->
set
(
'admin'
,
'uw_theme_admin'
)
->
save
();
// Remove default "contact" form.
\
Drupal
::
entityTypeManager
()
->
getStorage
(
'webform'
)
->
load
(
'contact'
)
->
delete
();
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment