1 dashboard.install dashboard_disable()

Implements hook_uninstall().

File

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

Code

function dashboard_disable() {
  // Disable the dashboard on module disable.
  config_set('layout.layout.dashboard', 'disabled', TRUE);
  layout_reset_caches();
}