<?php

namespace ModulesGarden\Servers\ZimbraEmail\App\UI\Client\DomainAlias\Modals;


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

/**
 *
 * Created by PhpStorm.
 * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
 * 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());

    }

}