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

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


use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\Ressource\Forms\MassDeleteRessourceForm;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\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());
    }

}