<?php

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


use ThurData\Servers\KerioEmail\App\UI\Client\DomainAlias\Modals\DeleteDomainAliasModal;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;

/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * Date: 02.10.19
 * Time: 14:24
 * Class DeleteDomainAliasButton
 */
class DeleteDomainAliasButton extends ButtonDataTableModalAction implements ClientArea
{
    protected $id    = 'deleteDomainAliasButton';
    protected $title = 'deleteDomainAliasButton';

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