Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AdminBundle] simple menu adaptor #542

Merged
merged 2 commits into from
Jul 13, 2015

Conversation

mlebkowski
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets #509

Add menu items using configuration.

kunstmaan_admin:
    menu_items:
      - route: AcmeBundle_mymodule_list  # your route name
        label: FooBaring Module
        parent: ~                        # attach it under specified menu item, default: KunstmaanAdminBundle_modules
        params: { source: "menuitem" }   # optional, array with custom route parameters
        role: ROLE_ADMIN                 # optional, only show for users with this role

@roderik roderik added this to the 3.2.1 milestone Jul 13, 2015
roderik pushed a commit that referenced this pull request Jul 13, 2015
@roderik roderik merged commit f3ef4b8 into Kunstmaan:master Jul 13, 2015
@mlebkowski mlebkowski deleted the feature/simple-menu-adaptor branch February 4, 2016 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants