Commit 51cec73d authored by Liam Morland's avatar Liam Morland
Browse files

ISTWCMS-3904: Remove default "contact" form

parent 455ea675
......@@ -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();
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment