public function twigEventDispatch($options)
{
$twigEvent = new TwigEvent($options);
$eventName = constant('Ojs\\CoreBundle\\Events\\TwigEvents::' . $options['event_name']);
$dispatchEvent = $this->eventDispatcher->dispatch($eventName, $twigEvent);
return $dispatchEvent->getTemplate();
}