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

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


use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\EmailAccount\Modals\AddAccountModal;
use ModulesGarden\Servers\ZimbraEmail\App\UI\Client\EmailAccount\Modals\ChangeStatusModal;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Interfaces\ClientArea;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\ButtonCreate;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;
use ModulesGarden\Servers\ZimbraEmail\Core\UI\Widget\Buttons\DropdawnButtonWrappers\ButtonDropdownItem;

class ChangeStatusButton extends ButtonDropdownItem implements ClientArea
{
    protected $id    = 'changeStatusButton';
    protected $title = 'changeStatusButton';
    protected $icon  = 'lu-dropdown__link-icon lu-btn__icon lu-zmdi lu-zmdi-refresh-sync';

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

}