<?php

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

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

/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 02.10.19
 * Time: 14:32
 * Class DeleteDomainAliasModal
 */
class DeleteDomainAliasModal extends BaseModal implements ClientArea
{

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

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

    }

}