diff --git a/core/modules/system/lib/Drupal/system/Controller/SystemController.php b/core/modules/system/lib/Drupal/system/Controller/SystemController.php index b261f19..c28fe22 100644 --- a/core/modules/system/lib/Drupal/system/Controller/SystemController.php +++ b/core/modules/system/lib/Drupal/system/Controller/SystemController.php @@ -112,7 +112,7 @@ public function autocomplete($plugin_id, Request $request) { * * @return \Symfony\Component\HttpFoundation\RedirectResponse */ - function compactPage($mode) { + public function compactPage($mode) { user_cookie_save(array('admin_compact_mode' => ($mode == 'on'))); return new RedirectResponse(url('', array('absolute' => TRUE))); }