1 dashboard.install dashboard_uninstall()

Implements hook_uninstall().

File

core/modules/dashboard/dashboard.install, line 26
Install, update and uninstall functions for the Dashboard module.

Code

function dashboard_uninstall() {
  // Delete the dashboard and menu item on module uninstall.
  $config = config('layout.layout.dashboard');
  $config->delete();
  $config = config('layout.menu_item.dashboard');
  $config->delete();
  layout_reset_caches();
}