<?php
/**
 * Class DeleteListButton
 * User: Nessandro
 * Date: 2019-10-01
 * Time: 11:16
 * @package ModulesGarden\Servers\ZimbraEmail\App\UI\Client\DistributionList\Buttons
 */

namespace ModulesGarden\Servers\ZimbraEmail\App\UI\Client\DistributionList\Buttons;


use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\DistributionList\Modals\DeleteListModal;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;

class DeleteListButton extends ButtonDataTableModalAction implements ClientArea
{
    protected $id    = 'deleteListButton';
    protected $title = 'deleteListButton';

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