protected function renderHelper($name, $value, ElementInterface $element)
    {
        $helper = $this->getView()->plugin($name);
        if ($helper instanceof HtmlContainer && $helper->getTagName()) {
            $this->shouldWrap = false;
            return $helper($value, $element->getAttributes());
        }

        $this->shouldWrap = true;
        return $helper($value);
    }
protected function renderHelper($name, $value, ElementInterface $element)
    {
        $helper = $this->getView()->plugin($name);
        if ($helper instanceof HtmlContainer && $helper->getTagName()) {
            $this->shouldWrap = false;
            return $helper($value, $element->getAttributes());
        }

        $this->shouldWrap = true;
        return $helper($value);
    }
protected function renderHelper ( $ name , $ value , ElementInterface $ element ) { $ helper = $ this -> getView ( ) -> plugin ( $ name ) ; if ( $ helper instanceof HtmlContainer && $ helper -> getTagName ( ) ) { $ this -> shouldWrap = false ; return $ helper ( $ value , $ element -> getAttributes ( ) ) ; } $ this -> shouldWrap = true ; return $ helper ( $ value ) ; }
Render value by helper name

@param string $name
@param mixed $value
@param ElementInterface $element
@return string
Render value by helper name