1<?php
2
3namespace dokuwiki\plugin\approve\meta;
4
5use dokuwiki\Menu\Item\AbstractItem;
6
7class ViewModeEdit extends AbstractItem {
8
9    /** @inheritdoc */
10    public function __construct() {
11        parent::__construct();
12        /** @var helper_plugin_approve $helper */
13        $helper = plugin_load('helper', 'approve');
14
15        $this->svg = DOKU_INC . 'lib/plugins/approve/circle-edit-outline.svg';
16        $this->label = $helper->getLang('btn_edit_mode');
17        $this->accesskey = 'e'; // it replaces the edit button, so the same access key.
18    }
19}
20