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

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


use ThurData\Servers\KerioEmail\App\UI\Client\DomainAlias\Modals\MassDeleteDomainAliasModal;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\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());
    }

}