Bundle/WidgetBundle/Helper/WidgetHelper.php
public function getTemplateName($action, Widget $widget)
    {
        //the template displayed is in the widget bundle
        $templateName = 'VictoireWidget'.$this->getWidgetName($widget).'Bundle::'.$action.'.html.twig';

        return $templateName;
    }
public function getTemplateName($action, Widget $widget)
    {
        //the template displayed is in the widget bundle
        $templateName = 'VictoireWidget'.$this->getWidgetName($widget).'Bundle::'.$action.'.html.twig';

        return $templateName;
    }
public function getTemplateName ( $ action , Widget $ widget ) { //the template displayed is in the widget bundle $ templateName = 'VictoireWidget' . $ this -> getWidgetName ( $ widget ) . 'Bundle::' . $ action . '.html.twig' ; return $ templateName ; }
Get the name of the template to display for an action.

@param string $action
@param Widget $widget

@todo find a better way to get the requested template

@return string
Get the name of the template to display for an action .