Releases: teppokoivula/MarkupMenu
Releases · teppokoivula/MarkupMenu
1.2.0
1.1.1
Fixed
- Restored options array for ___getTemplate() params.
1.1.0
Added
- Placeholders array is passed to ___getTemplate() and made available for callable templates.
1.0.0
Added
- New hookable methods treeItemIsParent() and arrayItemIsParent().
Changed
- Signature for hookable method renderArrayItem has changed, $root item is now provided as the third param. This applies to a protected method, but is still a breaking change in case third party code is hooking into said method.
Fixed
- Root page ID check in renderArrayItem() was referring to a non-existing variable.
0.11.0
Added
- Support for providing menu items as a prepopulated array via the menu_items option.
- Support for callables as templates, enabling template string to be defined dynamically.
0.10.0
Added
- Include level by default in the 'item' template.
0.9.0
Added
- New hookable method getSelector().
0.8.0
Added
- Support for passing in a prepopulated PageArray of menu items via the menu_items option.
Fixed
- Fixed an issue where include option root_page wasn't being properly reset (since 0.7.0).
0.7.0
Added
- New hookable method getItems().
Changed
- Method renderTreeItem() made hookable.
0.6.2
Changed
- Bumped required version of wireframe-framework/processwire-composer-installer to 1.0.