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    {
15        global $ID;
16        parent::__construct();
17
18        $this->svg = DOKU_INC . 'lib/images/menu/12-back_arrow-left.svg';
19        $this->type = 'img_backto';
20        $this->params = [];
21        $this->accesskey = 'b';
22        $this->replacement = $ID;
23    }
24}
25