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

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

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

class MassDeleteRessourceModal extends BaseModal implements ClientArea
{

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

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

}