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

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

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

class MassDeleteDomainAliasModal extends BaseModal implements ClientArea
{

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

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

}