<?php

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


use ThurData\Servers\KerioEmail\App\UI\Client\Ressource\Modals\DeleteRessourceModal;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonModal;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\DropdawnButtonWrappers\ButtonDropdownItem;

/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 18.09.19
 * Time: 11:27
 * Class DeleteRessourceButton
 */
class DeleteRessourceButton extends ButtonDataTableModalAction implements ClientArea
{
    protected $id    = 'deleteRessourceButton';
    protected $title = 'deleteRessourceButton';

    public function initContent()
    {
        $this->switchToRemoveBtn();
        $this->initLoadModalAction(new DeleteRessourceModal());
    }

}