1 | <?php |
||
25 | class MultiLevelMenuTwigExtension extends AbstractMenuTwigExtension { |
||
26 | |||
27 | /** |
||
28 | * Service name. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | const SERVICE_NAME = "wbw.adminbsb.twig.extension.menu.multi_level_menu"; |
||
33 | |||
34 | /** |
||
35 | * Displays an AdminBSB multi level menu. |
||
36 | * |
||
37 | * @param NavigationTree $tree The tree. |
||
38 | * @param Request $request The request. |
||
39 | * @return string Returns the AdminBSB multi level menu. |
||
40 | */ |
||
41 | public function adminBSBMultiLevelMenuFunction(NavigationTree $tree, Request $request): string { |
||
45 | |||
46 | /** |
||
47 | * Get the Twig functions. |
||
48 | * |
||
49 | * @return TwigFunction[] Returns the Twig functions. |
||
50 | */ |
||
51 | public function getFunctions(): array { |
||
56 | } |
||
57 |