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

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


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

class MassDeleteAccountButton extends ButtonMassAction implements ClientArea
{

    protected $id    = 'massDeleteAccountButton';
    protected $title = 'massDeleteAccountButton';

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