<?php

namespace ModulesGarden\Servers\OpenXchange\App\UI\Client\EmailForwarder\Modals;


use ModulesGarden\Servers\OpenXchange\App\UI\Client\EmailForwarder\Forms\DeleteForwarderForm;
use ModulesGarden\Servers\OpenXchange\App\UI\Client\EmailForwarder\Forms\EditForwarderForm;
use ModulesGarden\Servers\OpenXchange\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\OpenXchange\Core\UI\Widget\Modals\BaseModal;

/**
 *
 * Created by PhpStorm.
 * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
 * Date: 18.09.19
 * Time: 11:28
 * Class DeleteForwarderModal
 */
class DeleteForwarderModal extends BaseModal implements ClientArea
{

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

    public function initContent()
    {
        $this->setSubmitButtonClassesDanger();
        $this->setModalTitleTypeDanger();

        $this->addForm(new DeleteForwarderForm());
    }

}