ModifyIconForResourcePropertiesEvent

The PSR-14 event \TYPO3\CMS\Core\Resource\Event\ModifyIconForResourcePropertiesEvent is dispatched when an icon for a resource (file or folder) is fetched, allowing to modify the icon or overlay in an event listener.

Example

API

class ModifyIconForResourcePropertiesEvent
Fully qualified name
\TYPO3\CMS\Core\Imaging\Event\ModifyIconForResourcePropertiesEvent

This is an Event every time an icon for a resource (file or folder) is fetched, allowing to modify the icon or overlay in an event listener.

getResource ( )
Returns
\TYPO3\CMS\Core\Resource\ResourceInterface
getSize ( )
Returns
string
getOptions ( )
Returns
array
getIconIdentifier ( )
Returns
?string
setIconIdentifier ( ?string $iconIdentifier)
param $iconIdentifier

the iconIdentifier

getOverlayIdentifier ( )
Returns
?string
setOverlayIdentifier ( ?string $overlayIdentifier)
param $overlayIdentifier

the overlayIdentifier