[+FEATURE] Extbase (Utility): Add support for custom specify custom plugin icon
authorBastian Waidelich <bastian@typo3.org>
Thu, 30 Dec 2010 14:06:28 +0000 (14:06 +0000)
committerBastian Waidelich <bastian@typo3.org>
Thu, 30 Dec 2010 14:06:28 +0000 (14:06 +0000)
commitd9df1571bbaa26252d590f2045af0ef215665fde
treeeea5dbcba38fff37ab1aca4943428659eba8478f
parent1e6b621e34c48eab08567419a45b57fce2ca0bb6
[+FEATURE] Extbase (Utility): Add support for custom specify custom plugin icon

Tx_Extbase_Utility_Extension::registerPlugin() now has a fourth parameter $pluginIconPathAndFilename
that you can set to the path of an icon, that will be displayed in the plugin dropdown in the backend.
You can use it like:
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'MyPlugin',
'My Plugin description',
t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/someIcon.gif'
);

Thanks to Steffen Müller for the initial patches!

Resolves #11179
typo3/sysext/extbase/Classes/Utility/Extension.php