The Menu UI module implements several entity hooks for the Menu entity. But actually these hook implementations are clearing caches that need to be cleared even if the Menu UI module is not enabled.
The easiest way to see this is to install the minimal profile from a configuration export (as this does not have the Menu UI module installed):
The menus will be broken.
Move the hook implementations into the Menu entity.
None
menu_cache_clear_all()
is deprecated in this issue as these are the only calls in core. The replacement is to call \Drupal::cache('menu')->invalidateAll();
directly.
None
Fixed
8.6 β°οΈ
Last updated
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.