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

namespace ThurData\Servers\KerioEmail\App\UI\Client\DistributionList\Modals;


use ThurData\Servers\KerioEmail\App\UI\Client\DistributionList\Forms\MassDeleteListForm;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\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());
    }

}