Problem/Motivation
Top Bar shows Entity actions as a dropdown instead of local tasks.
In order to discover the routes where this should happen, Navigation checks the entity type routes defined as links.
However, Layout Builder follows a different approach for that.
So, NavigationRenderer service is not able to recognize Layout Builder overrides page as an entity operation route and shows the tabs instead of the top bar operations.
Steps to reproduce
- Install Umami
- Go to Navigation Settings (
/admin/config/user-interface/navigation/settings)
- Disable the Hide Top Bar option
- Visit a node page like
/recipes/crema-catalana and confirm that tabs are not present and the top bar shows the different related pages
- Check other options like edit or delete and confirm that top bar behavior is the expected one
- Select the "Layout" Top Bar dropdown option and confirm that this page shows tabs instead of the Top Bar dropdown
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comments
Comment #3
plopescMR created
Comment #4
kanchan bhogade commentedHi
I've tested MR !192 on Drupal 11.x
Tsetng steps:
Test Result:
For the layout showing the Dropdown at the top bar
Adding screenshots for reference
keeping in "needs Review" for code verification
Comment #5
ckrinaLooks good to me. Merged, thanks!