[FEATURE] Allow additional paths for extension icons 06/49306/3
authorBenni Mack <benni@typo3.org>
Tue, 2 Aug 2016 11:13:44 +0000 (13:13 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 3 Aug 2016 14:28:59 +0000 (16:28 +0200)
commit8c66c37307fb4b1ec47fc753c7455284410c50cd
tree4d21a63790c9abc8a8aa9432829037cef2004168
parentdac339689d44ac63ac4f52a06f0e6fa1faf94b7c
[FEATURE] Allow additional paths for extension icons

Until now, the extension icon had to be located under ext_icon.png,
ext_icon.svg, ext_icon.gif within the extension directory.

In order to prepare a way to allow only files under Resources/Public/
to be public, the icon can now also be put under
Resources/Public/Icons/Extension.png or .svg

Several paths where hard-coded extension icon paths are replaced
with the getExtensionIcon() API in the Core.

Resolves: #77349
Releases: master
Change-Id: Ib273f347498d412530ca256a083d896d168f65fa
Reviewed-on: https://review.typo3.org/49306
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Controller/NewRecordController.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Documentation/Changelog/master/Feature-77349-AdditionalLocationsForExtensionIcons.rst [new file with mode: 0644]
typo3/sysext/documentation/Classes/Utility/MiscUtility.php
typo3/sysext/reports/Classes/ViewHelpers/IconViewHelper.php