Event | Twocream\ShopwareConnectorBundle\Events\ThumbnailPrefixReplacementEvent::THUMBNAIL_PREFIX_REPLACEMENT |
Class | Twocream\ShopwareConnectorBundle\Events\ThumbnailPrefixReplacementEvent |
Properties | array $replacements |
Trigger | The event is triggered by the AssetHelper , immediately before the prefixes specified in $replacements are removed from the thumbnail names |
Additional Details | By default, thumbnail names like shopware_500x500 are renamed to 500x500 . The event is triggered with ['shopware_'] as a parameter.
This could, for example, override the shopware_ prefix if another prefix should be removed. |