[FEATURE] Add hook to override icon status overlay
authorFrancois Suter <francois@typo3.org>
Tue, 5 Apr 2011 13:12:39 +0000 (15:12 +0200)
committerOliver Hader <oliver@typo3.org>
Fri, 6 May 2011 16:30:43 +0000 (18:30 +0200)
commit226fb78230b8aa7f29297b768cb129647304f8e7
tree2623c8f1b12325712589683a0510faf6717f5bbe
parent50cbf2640caad79144d3d9c2d511030a78c7cc9c
[FEATURE] Add hook to override icon status overlay

Icons status overlays are defined in t3lib_iconWorks::
mapRecordOverlayToSpriteIconName(). However it is necessary
for "external" process (e.g. versioning) to override the
icon status. Currently a deleted record in a workspace will
not appear properly overlaid because only deleted = 1 is
checked and not also t3ver_state = 2. This hook makes it
possible for the version sysext to hook into the process and
set the right status.

Change-Id: I349012e402ab349ad810c57e46b0a7d5f8a46b03
Resolves: #25765
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/1459
Tested-by: Oliver Hader
Reviewed-by: Stefan Neufeind
Reviewed-by: Oliver Hader
t3lib/class.t3lib_iconworks.php
tests/t3lib/class.t3lib_iconWorksTest.php