Views provided menu links are lost after cache clear/rebuild because the changed config is not stored in
core.menu.static_menu_link_overrides. I wrote a test case to explain the issue.
Steps to reproduce:
- Create a View with a 'page' dispaly
- Add a menu link
- Disable the menu link in the Menu UI
- Clear caches
Menu link is disabled.
Menu link is enabled.
Add options for expanded/enabled to the config schema so that their status gets stored.
Don't provide a UI though - this is just to preserve them.