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

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

use ThurData\Servers\KerioEmail\App\UI\Client\Setting\Forms\MassDeleteSettingForm;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseModal;

class MassDeleteSettingModal extends BaseModal implements ClientArea
{

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

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

}