You are here

function cheeseburger_menu_uninstall in Cheeseburger Menu 5.0.x

Implements hook_uninstall().

File

./cheeseburger_menu.install, line 6

Code

function cheeseburger_menu_uninstall($is_syncing) {
  $menus = [
    'language',
  ];
  $menus = \Drupal::entityTypeManager()
    ->getStorage('menu')
    ->loadMultiple($menus);
  \Drupal::entityTypeManager()
    ->getStorage('menu')
    ->delete($menus);
}