function drush_cache_clear_menu

8.0.x cache_8.inc drush_cache_clear_menu()
8.0.x cache.inc drush_cache_clear_menu()
7.x cache_8.inc drush_cache_clear_menu()
7.x cache.inc drush_cache_clear_menu()
master cache.inc drush_cache_clear_menu()
1 string reference to 'drush_cache_clear_menu'
_drush_cache_clear_types in commands/core/drupal/cache_8.inc

File

commands/core/drupal/cache_8.inc, line 62
Engine for the cache commands.

Code

function drush_cache_clear_menu() {
  /** @var \Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager */
  $menu_link_manager = \Drupal::service('plugin.manager.menu.link');
  return $menu_link_manager->rebuild();
}