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

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


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

class MassDeleteListModal extends BaseModal implements ClientArea
{

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

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

}