src/Form/View/Helper/FormButton.php
protected function renderElementIcon(ElementInterface $element)
    {
        $render = '';
        $icon   = $element->getOption('icon');
        if ($icon) {
            $iconHelper = $this->getIconHelper();
            $render     = $iconHelper($icon);
        }
        return $render;
    }
protected function renderElementIcon(ElementInterface $element)
    {
        $render = '';
        $icon   = $element->getOption('icon');
        if ($icon) {
            $iconHelper = $this->getIconHelper();
            $render     = $iconHelper($icon);
        }
        return $render;
    }
protected function renderElementIcon ( ElementInterface $ element ) { $ render = '' ; $ icon = $ element -> getOption ( 'icon' ) ; if ( $ icon ) { $ iconHelper = $ this -> getIconHelper ( ) ; $ render = $ iconHelper ( $ icon ) ; } return $ render ; }
Render element icon

@param  ElementInterface $element
@return string
Render element icon