From 5b96278a3839044e36fc32c27c4d123f69b729fc Mon Sep 17 00:00:00 2001 From: Joshua Fernandes Date: Sun, 16 Jul 2023 21:54:58 +0530 Subject: [PATCH] [CIVIC-1204] Added SVG support for Logos. --- .../src/Settings/CivicthemeSettingsFormSectionComponents.php | 1 - 1 file changed, 1 deletion(-) diff --git a/docroot/themes/contrib/civictheme/src/Settings/CivicthemeSettingsFormSectionComponents.php b/docroot/themes/contrib/civictheme/src/Settings/CivicthemeSettingsFormSectionComponents.php index 707e6e168..44bf47d9b 100644 --- a/docroot/themes/contrib/civictheme/src/Settings/CivicthemeSettingsFormSectionComponents.php +++ b/docroot/themes/contrib/civictheme/src/Settings/CivicthemeSettingsFormSectionComponents.php @@ -80,7 +80,6 @@ public function form(&$form, FormStateInterface &$form_state) { '#default_value' => $this->themeConfigManager->load("components.logo.{$logo_type}.{$theme}.{$breakpoint}.path"), ]; - $allowed_extensions = $this->imageFactory->getSupportedExtensions(); $allowed_extensions[] = 'svg'; $form['components']['logo'][$logo_type][$theme][$breakpoint]['upload'] = [