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

namespace ModulesGarden\Servers\ZimbraEmail\App\UI\Client\EmailAccount\Buttons;


use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\EmailAccount\Modals\MassDeleteAccountModal;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\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());
    }
}
