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

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

use ThurData\Servers\KerioEmail\App\UI\Client\EmailAlias\Forms\MassDeleteEmailAliasForm;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseModal;

class MassDeleteEmailAliasModal extends BaseModal implements ClientArea
{

    protected $id    = 'massDeleteEmailAliasModal';
    protected $name  = 'massDeleteEmailAliasModal';
    protected $title = 'massDeleteEmailAliasModal';

    public function initContent()
    {
        $this->setSubmitButtonClassesDanger();
        $this->setModalTitleTypeDanger();
        $this->addForm(new MassDeleteEmailAliasForm());
    }

}