menu_cache_clear_all()
Clears all cached menu data.
This should be called any time broad changes might have been made to the router items or menu links.
function menu_cache_clear_all() { \Drupal::cache('menu')->invalidateAll(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!menu.inc/function/menu_cache_clear_all/8.1.x