<?php
/**
 * Class MassDeleteRessourceButton
 * User: ThurData
 * Date: 2019-10-11
 * Time: 11:29
 * @package ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Buttons
 */

namespace ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Buttons;


use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Modals\MassDeleteRessourceModal;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonMassAction;

class MassDeleteRessourceButton extends ButtonMassAction implements ClientArea
{

    protected $id    = 'massDeleteRessourceButton';
    protected $title = 'massDeleteRessourceButton';

    public function initContent()
    {
        $this->switchToRemoveBtn(); 
        $this->initLoadModalAction(new MassDeleteRessourceModal());
    }
}
