1<?php 2/** 3 * DokuWiki Plugin todomover (Menu Item) 4 * 5 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html 6 */ 7 8namespace dokuwiki\plugin\todomover; 9 10use dokuwiki\Menu\Item\AbstractItem; 11 12class MenuItem extends AbstractItem 13{ 14 /** @var string DokuWiki do action */ 15 protected $type = 'movetaggedtodos'; 16 17 /** 18 * MenuItem constructor. 19 */ 20 public function __construct() 21 { 22 parent::__construct(); 23 $this->label = 'Move tagged todos'; 24 $this->title = 'Move <todo #tag> items to ## done'; 25 $this->params['sectok'] = \getSecurityToken(); 26 $this->svg = __DIR__ . '/todo.svg'; 27 } 28} 29