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

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


use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\EmailAlias\Forms\MassDeleteEmailAliasForm;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\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());
    }

}