[BUGFIX] Make editIconsHook work again 17/41117/2
authorNicole Cordes <typo3@cordes.co>
Mon, 13 Jul 2015 09:40:06 +0000 (11:40 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 13 Jul 2015 13:51:03 +0000 (15:51 +0200)
commit9082bf1e55d71c73417bb46cb5b50dcbfbcc86c3
treee91888dc770de6174eafe843ee440b3d501b14b2
parentab3729bb87010e28c1ec80a11ca1024650b2c5bb
[BUGFIX] Make editIconsHook work again

It isn't possible to add icons in filelist extended view easily,
because there is no way to get the current file or folder object nor get
information about it. This patch adds the object to the cells variable
and reset it after hook execution to ensure access to it.

Releases: master, 6.2
Resolves: #67962
Change-Id: I44a4229128bcfdb2ed17900462f50a771ed63fdd
Reviewed-on: http://review.typo3.org/41117
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/filelist/Classes/FileList.php