<?php
/**
 * Class MassDeleteListButton
 * User: ThurData
 * Date: 2019-10-11
 * Time: 11:23
 * @package ThurData\Servers\KerioEmail\App\UI\Client\DistributionList\Buttons
 */

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


use ThurData\Servers\KerioEmail\App\UI\Client\DistributionList\Modals\MassDeleteListModal;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonMassAction;

class MassDeleteListButton extends ButtonMassAction implements ClientArea
{

    protected $id    = 'massDeleteListButton';
    protected $title = 'massDeleteListButton';

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