public function initialize()
    {
        parent::initialize();

        $this->setUrl($this->getModelConfiguration()->getCancelUrl());
        $this->setHtmlAttributes($this->getHtmlAttributes() + [
            'class' => 'btn btn-warning',
        ]);
    }
public function initialize()
    {
        parent::initialize();

        $this->setUrl($this->getModelConfiguration()->getCancelUrl());
        $this->setHtmlAttributes($this->getHtmlAttributes() + [
            'class' => 'btn btn-warning',
        ]);
    }
public function initialize ( ) { parent :: initialize ( ) ; $ this -> setUrl ( $ this -> getModelConfiguration ( ) -> getCancelUrl ( ) ) ; $ this -> setHtmlAttributes ( $ this -> getHtmlAttributes ( ) + [ 'class' => 'btn btn-warning' , ] ) ; }
Init Cancel Button.
Init Cancel Button .