<?php
/**
 * Class DeleteListModal
 * User: Nessandro
 * Date: 2019-10-01
 * Time: 11:25
 * @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\DeleteListForm;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Modals\BaseModal;

class DeleteListModal extends BaseModal implements ClientArea
{

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

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

}