<?php

namespace ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Buttons;


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

/**
 *
 * Created by PhpStorm.
 * User: ThurData
 * 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());
    }

}