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

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


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

class MassDeleteDomainAliasButton extends ButtonMassAction implements ClientArea
{

    protected $id    = 'massDeleteDomainAliasButton';
    protected $title = 'massDeleteDomainAliasButton';

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

}