<?php

namespace ModulesGarden\HostingQuotaNotifications\App\UI\Groups\Modals;

use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Modals\BaseModal;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Interfaces\AdminArea;
use \ModulesGarden\HostingQuotaNotifications\App\UI\Groups\Forms\QueueDeleteForm;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Modals\BaseEditModal;
use \ModulesGarden\HostingQuotaNotifications\App\UI\Groups\Forms\GroupDeleteForm;
/**
 * Description of GroupDeleteModal
 *
 * @author Artur Pilch <artur.pi@modulesgarden.com>
 */
class GroupDeleteModal extends BaseModal implements AdminArea
{
    protected $id        = 'GroupDeleteModal';
    protected $name      = 'GroupDeleteModal';
    protected $title     = 'GroupDeleteModal';
    protected $modalType = 'danger';

    public function initContent()
    {
        $this->setModalSizeSmall();
        $this->replaceSubmitButtonClesses(['btn btn--danger submitForm']);
        $this->addForm(new GroupDeleteForm());
    }
}
