<?php
/**
 * Class EditListButton
 * 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\EditListModal;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;

class EditListButton extends ButtonDataTableModalAction implements ClientArea
{
    protected $id    = 'editListButton';
    protected $title = 'editListButton';

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