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

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


use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\EmailAlias\Modals\MassDeleteEmailAliasModal;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\ButtonMassAction;

class MassDeleteEmailAliasButton extends ButtonMassAction implements ClientArea
{

    protected $id    = 'massDeleteEmailAliasButton';
    protected $title = 'massDeleteEmailAliasButton';

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