diff --git a/src/bundle/Resources/config/default_parameters.yaml b/src/bundle/Resources/config/default_parameters.yaml index 0b83a2a3d3..313ed323e1 100644 --- a/src/bundle/Resources/config/default_parameters.yaml +++ b/src/bundle/Resources/config/default_parameters.yaml @@ -39,11 +39,11 @@ parameters: ibexa.site_access.config.default.content_type_group.default-config: thumbnail: '/bundles/ibexaadminui/img/ibexa-icons.svg#file' ibexa.site_access.config.default.content_type_group.content: - thumbnail: '/bundles/ibexaadminui/img/ibexa-icons.svg#article' + thumbnail: '/bundles/ibexaadminui/img/ibexa-icons.svg#content-type-content' ibexa.site_access.config.default.content_type_group.users: - thumbnail: '/bundles/ibexaadminui/img/ibexa-icons.svg#user_group' + thumbnail: '/bundles/ibexaadminui/img/ibexa-icons.svg#user-type' ibexa.site_access.config.default.content_type_group.media: - thumbnail: '/bundles/ibexaadminui/img/ibexa-icons.svg#gallery' + thumbnail: '/bundles/ibexaadminui/img/ibexa-icons.svg#media-type' ibexa.content_view.tabs.default_template: '@@ibexadesign/ui/tab/default.html.twig' diff --git a/src/lib/UI/Service/IconResolver.php b/src/lib/UI/Service/IconResolver.php index ab87fd0982..108303c339 100644 --- a/src/lib/UI/Service/IconResolver.php +++ b/src/lib/UI/Service/IconResolver.php @@ -46,7 +46,10 @@ private function resolveIcon(string $format, string $identifier): string $config = $this->configResolver->getParameter($parameterName); } - if ((empty($config) || empty($config[static::ICON_KEY])) && $this->configResolver->hasParameter($defaultParameterName)) { + if ( + (empty($config) || empty($config[static::ICON_KEY])) + && $this->configResolver->hasParameter($defaultParameterName) + ) { $config = $this->configResolver->getParameter($defaultParameterName); }