Für die Nachwelt:
$this->subscribeEvent(‚Shopware_Emotion_Collect_Emotion_Component_Handlers‘, ‚registerEmotionComponentHandler‘);
public function registerEmotionComponentHandler(\Enlight_Event_EventArgs $args)
{
$result = new ArrayCollection();
$result->add(new EmotionComponentHandler());return $result;
}
(Natürlich muss der EmotionComponentHandler ebenfalls implementiert sein, siehe z.B. Custom shopping world elements