public function bootstrapRowButtonDeleteFunction(array $args = []) {

        $txt = $this->getTranslator()->trans("label.delete", [], "WBWBootstrapBundle");
        $but = $this->getButtonTwigExtension()->bootstrapButtonDangerFunction(["title" => $txt, "icon" => "g:trash"]);

        return $this->getButtonTwigExtension()->bootstrapButtonLinkFilter($but, ArrayHelper::get($args, "href", self::DEFAULT_HREF));
    }
public function bootstrapRowButtonDeleteFunction(array $args = []) {

        $txt = $this->getTranslator()->trans("label.delete", [], "WBWBootstrapBundle");
        $but = $this->getButtonTwigExtension()->bootstrapButtonDangerFunction(["title" => $txt, "icon" => "g:trash"]);

        return $this->getButtonTwigExtension()->bootstrapButtonLinkFilter($but, ArrayHelper::get($args, "href", self::DEFAULT_HREF));
    }
public function bootstrapRowButtonDeleteFunction ( array $ args = [ ] ) { $ txt = $ this -> getTranslator ( ) -> trans ( "label.delete" , [ ] , "WBWBootstrapBundle" ) ; $ but = $ this -> getButtonTwigExtension ( ) -> bootstrapButtonDangerFunction ( [ "title" => $ txt , "icon" => "g:trash" ] ) ; return $ this -> getButtonTwigExtension ( ) -> bootstrapButtonLinkFilter ( $ but , ArrayHelper :: get ( $ args , "href" , self :: DEFAULT_HREF ) ) ; }
Displays a Bootstrap row button "delete".

@param array $args The arguments.
@return string Returns the Bootstrap row button "Delete".
Displays a Bootstrap row button delete .