Skip to content
New issue

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

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

Already on GitHub? # to your account

[AdminBundle] AsMenuAdaptor attribute to easily define menu adaptors with custom priorities #3173

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

acrobat
Copy link
Member

@acrobat acrobat commented Oct 6, 2022

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

With the new attribute you can control the menu priority without the need to add a service definition for it.

#[AsMenuAdaptor(priority: 100)]
class MenuAdaptor implements MenuAdaptorInterface
{
//...
}

@acrobat acrobat added this to the 6.3.0 milestone Oct 6, 2022
@acrobat acrobat force-pushed the as-menuadaptor-attribute branch from 5b39830 to a622528 Compare October 6, 2022 16:53
@acrobat acrobat merged commit 2b1c21e into Kunstmaan:6.x Oct 6, 2022
@acrobat acrobat deleted the as-menuadaptor-attribute branch October 6, 2022 17:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant