<?php

namespace ThurData\Servers\KerioEmail\App\UI\Admin\LoggerManager\Buttons;

use \ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;
use \ThurData\Servers\KerioEmail\App\UI\Admin\LoggerManager\Modals\DeleteLoggerModal;
use \ThurData\Servers\KerioEmail\Core\UI\Interfaces\AdminArea;

/**
 * Description of DeleteLabelModalButton
 *
 * @autor ThurData <info@thurdata.ch>
 */
class DeleteLoggerModalButton extends ButtonDataTableModalAction implements AdminArea
{
    protected $id    = 'deleteLoggerModalButton';
    protected $name  = 'deleteLoggerModalButton';
    protected $title = 'deleteLoggerModalButton';

    public function initContent()
    {
        $this->initLoadModalAction(new DeleteLoggerModal());

        $this->switchToRemoveBtn();
    }
}
