Fixing minor issue with widget api and removing homepage menu

This commit is contained in:
2016-09-23 12:30:58 +02:00
parent a3e7c60e01
commit 010c7652a6
6 changed files with 18 additions and 44 deletions

View File

@@ -2,7 +2,7 @@
namespace Chill\MainBundle\Templating\Widget;
use Twig_Environment;
use \Twig_Environment;
interface WidgetInterface
{

View File

@@ -112,7 +112,7 @@ class WidgetRenderingTwig extends \Twig_Extension
$widget = $a[0];
$config = $a[1];
$content = $widget->render($env, $block, $context, $config);
$content .= $widget->render($env, $block, $context, $config);
}
// for old rendering events (deprecated)