1<?php
2
3namespace dokuwiki\Menu\Item;
4
5/**
6 * Class ImgBackto
7 *
8 * Links back to the originating page from a detail image view
9 */
10class ImgBackto extends AbstractItem {
11
12    /** @inheritdoc */
13    public function __construct() {
14        global $ID;
15        parent::__construct();
16
17        $this->svg = DOKU_INC_COMPAT . 'lib/images/menu/12-back_arrow-left.svg';
18        $this->type = 'img_backto';
19        $this->params = array();
20        $this->accesskey = 'b';
21        $this->replacement = $ID;
22    }
23
24}
25