Table of Contents
- Handle the items in the various menus provided by templates
- Add the default items for the menu
This event is signalled by AbstractMenu::getItems() (and it's children) in /inc/Menu/AbstractMenu.php when the menu in question is assembled, handlers can use it to add or remove items from the menu.
The $data array contains two keys:
viewdefines the menu that is currently built (please refer to Menus on which menus exist)
itemscontains an array of AbstractItem descendants.
An example on how to implement this event can be seen in this:
See also: example
- Code related to this event used in any DokuWiki's files, plugins and templates
devel/event/menu_items_assembly.txt · Last modified: 2018-12-08 15:55 by torpedo