Skip to content
Snippets Groups Projects
Commit 8a961ba7 authored by Frank Nägler's avatar Frank Nägler Committed by Wouter Wolters
Browse files

[TASK] Render Resources using SVG in IconFactory

Add SVG icons for MimeTypes to the IconRegistry, add
IconFactory->getIconForResource() as improved version of
IconUtility->getSpriteIconForResource().

Also add IconFactory->getIconForFileExtension() similar to
IconUtility->getSpriteIconForFile() but without the possibility to pass
a path but only a file extension.

Replace all core calls of getSpriteIconForFile() and
getSpriteIconForResource() with calls to IconFactory.

Resolves: #69744
Resolves: #69759
Releases: master
Change-Id: I26b221fbba87c7f3e09ec10b61c13c8e74b8ecb3
Reviewed-on: http://review.typo3.org/43258


Reviewed-by: default avatarBenjamin Kott <info@bk2k.info>
Tested-by: default avatarBenjamin Kott <info@bk2k.info>
Reviewed-by: default avatarFrank Nägler <frank.naegler@typo3.org>
Tested-by: default avatarFrank Nägler <frank.naegler@typo3.org>
Reviewed-by: default avatarFrans Saris <franssaris@gmail.com>
Tested-by: default avatarFrans Saris <franssaris@gmail.com>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent 0e7aab06
Branches
Tags
Showing
with 355 additions and 0 deletions
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