<?php

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


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

/**
 *
 * Created by PhpStorm.
 * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
 * Date: 08.11.19
 * Time: 12:07
 * Class ChangePassword
 */
class ChangePasswordButton extends ButtonDropdownItem implements ClientArea
{
    protected $id    = 'changePassword';
    protected $title = 'changePassword';
    protected $icon  = 'lu-dropdown__link-icon lu-btn__icon lu-zmdi lu-zmdi-lock';

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

}