public function getConfig()
    {
        $config = array(
            'label' => $this->getI18nLabel(),
            'icon' => $this->getIcon(),
            'buttonClasses' => $this->getButtonClasses(),
            'xhr' => $this->getXhr(),
            'destructive' => $this->getDestructive()
        );
        return $config;
    }
public function getConfig()
    {
        $config = array(
            'label' => $this->getI18nLabel(),
            'icon' => $this->getIcon(),
            'buttonClasses' => $this->getButtonClasses(),
            'xhr' => $this->getXhr(),
            'destructive' => $this->getDestructive()
        );
        return $config;
    }
public function getConfig ( ) { $ config = array ( 'label' => $ this -> getI18nLabel ( ) , 'icon' => $ this -> getIcon ( ) , 'buttonClasses' => $ this -> getButtonClasses ( ) , 'xhr' => $ this -> getXhr ( ) , 'destructive' => $ this -> getDestructive ( ) ) ; return $ config ; }
Return front-end configuration

@return array
Return front - end configuration