- Issue created by @joshuami
- 🇮🇳India sanket.tale
@joshuami Could you please add the appropriate reproducible steps. I was not able to reproduce this problem in my local.
Steps to reproduced
- Go to /admin/structure/views and create views
- In the page settings add path - admin/content/{node name} and menu - select Menu tab and add details and save it. - 🇺🇸United States joshuami Portland, OR
@sanket.tale, I didn't see the issue on views with menu settings set by a view. It was in views off of an entity type were the the tabs were added via a mymodule.links.tasks.yml that defined the tabs using the menu api per https://www.drupal.org/docs/drupal-apis/menu-api/providing-module-define... → .
This is similar to how the media module in core adds the views.view.media.yml to the system.admin_content base route:
entity.media.collection: title: Media route_name: entity.media.collection base_route: system.admin_content weight: 10
If you create the multiple views and add them via a custom module in mymodule.links.tasks.yml, I think you should be able to reproduce, but I haven't tried this on a view that has both primary and secondary menu tabs like /admin/content.
- First commit to issue fork.
- Status changed to Needs work
5 months ago 3:54am 9 July 2024 - Status changed to Needs review
5 months ago 4:19am 10 July 2024 - Status changed to Needs work
5 months ago 4:12pm 15 July 2024 - 🇺🇸United States smustgrave
Since this is talking about disappearing tabs sounds like we should have test coverage for such a scenario.