Skip to content

This bundle provides menu management functionality for Symfony-based applications.

License

Notifications You must be signed in to change notification settings

DarvinStudio/DarvinMenuBundle

Repository files navigation

Menu bundle

This bundle provides menu management functionality for Symfony-based applications.

Usage

  1. Register menu:
# config/packages/darvin_menu.yaml
darvin_menu:
    menus:
        header: ~
  1. Render menu:
{{ render_esi(controller('darvin_menu.controller.menu', {
    'buildOptions':  {'menu': 'header', 'depth': 2},
    'renderOptions': {'template': 'menu/header.html.twig'},
})) }}

Extras

About

This bundle provides menu management functionality for Symfony-based applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published