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

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


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

class MassDeleteAccountModal extends BaseModal implements ClientArea
{

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

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

}