Twig/ToolbarDisplay.php
public function display(Environment $environment, $template, $type = null, $size = 'md', $object = null)
    {
        //Defines tools
        $tools = $environment->render($template, array(
                'type' => $type,
                'object' => $object,
            ));

        //Defines toolbar
        return $environment->render('@c975LToolbar/toolbar.html.twig', array(
                'tools' => $tools,
                'size' => $size,
            ));
    }
public function display(Environment $environment, $template, $type = null, $size = 'md', $object = null)
    {
        //Defines tools
        $tools = $environment->render($template, array(
                'type' => $type,
                'object' => $object,
            ));

        //Defines toolbar
        return $environment->render('@c975LToolbar/toolbar.html.twig', array(
                'tools' => $tools,
                'size' => $size,
            ));
    }
Returns the xhtml code for the toolbar
@return string