An error occurred while fetching folder content.
Frans Saris
authored
With the introduction of FAL the files and folders are objects and so there is more info than just a name/extension to determine the right icon. And with file_metadata you have the possibility to even add more info to a file (access rights etc). This patch adds a new method to the IconUtility API for generating the sprite icon for a resource. There is also a hook where other extensions can hook in and change the icon, options and overlays. Furthermore, all calls in the core are changed to IconUtility::getSpriteIconForFile where a File or Folder object was available. Resolves: #56211 Documentation: #56412 Releases: 6.2 Change-Id: Ifae61dd65d690fffd90c66568e2647ebd403bce5 Reviewed-on: https://review.typo3.org/27790 Reviewed-by: Steffen Ritter Tested-by: Steffen Ritter Reviewed-by: Markus Klein Reviewed-by: Stefan Froemken Tested-by: Stefan Froemken Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters
Name | Last commit | Last update |
---|