<?php
/**
 * Class MassDeleteListButton
 * User: Nessandro
 * Date: 2019-10-11
 * Time: 11:23
 * @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\MassDeleteListModal;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\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());
    }
}