Allow easy extending / modifying the admin menu.
Those using this new Menu class can easily generate a menu suitable for the menu template, and add new items. The Menu class calls an "adminmenu" hook as well for those modules willing to extend the menu.
Showing
- modules/admin/lib/ConfigController.php 26 additions, 4 deletionsmodules/admin/lib/ConfigController.php
- modules/admin/lib/Menu.php 90 additions, 0 deletionsmodules/admin/lib/Menu.php
- modules/admin/templates/config.twig 7 additions, 1 deletionmodules/admin/templates/config.twig
- modules/admin/templates/includes/menu.twig 12 additions, 17 deletionsmodules/admin/templates/includes/menu.twig
modules/admin/lib/Menu.php
0 → 100644
Please register or sign in to comment