<?php
/**
 * Class MassDeleteRessourceButton
 * User: Nessandro
 * Date: 2019-10-11
 * Time: 11:29
 * @package ModulesGarden\Servers\ZimbraEmail\App\UI\Client\Ressource\Buttons
 */

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


use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\Ressource\Modals\MassDeleteRessourceModal;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\ButtonMassAction;

class MassDeleteRessourceButton extends ButtonMassAction implements ClientArea
{

    protected $id    = 'massDeleteRessourceButton';
    protected $title = 'massDeleteRessourceButton';

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