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

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


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