public function button(Environment $environment, $link, $button, $size = 'md', $iconDisplay = 'true', $location = 'right', $label = null, $userStyle = null)
    {
        //Defines $icon and $style
        extract($this->toolbarService->defineButton($button));

        //Defines button
        return $environment->render('@c975LToolbar/buttonText.html.twig', array(
            'link' => $link,
            'style' => $style,
            'size' => $size,
            'button' => $button,
            'icon' => $icon,
            'label' => $label,
            'iconDisplay' => $iconDisplay,
            'location' => $location,
        ));
    }
public function button(Environment $environment, $link, $button, $size = 'md', $iconDisplay = 'true', $location = 'right', $label = null, $userStyle = null)
    {
        //Defines $icon and $style
        extract($this->toolbarService->defineButton($button));

        //Defines button
        return $environment->render('@c975LToolbar/buttonText.html.twig', array(
            'link' => $link,
            'style' => $style,
            'size' => $size,
            'button' => $button,
            'icon' => $icon,
            'label' => $label,
            'iconDisplay' => $iconDisplay,
            'location' => $location,
        ));
    }
Returns the xhtml code for the button with text
@return string