Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In admin_menu.inc file in admin_menu_flush_cache and admin_menu_toggle_modules function at the end they should be replaced drupal_goto by ResponseRedirect
-drupal_goto();
+$destination = drupal_get_destination();
+$url = url($destination['destination'], array('absolute' => TRUE));
+return new Symfony\Component\HttpFoundation\RedirectResponse($url);
Comment | File | Size | Author |
---|---|---|---|
#1 | admin_menu-goto-redirectresponse-2052427-1.patch | 974 bytes | dmouse |
Comments
Comment #1
dmouseComment #2
jibranI have created a fork of admin_menu 8.x-3.x on github. Please help me fix it for Drupal 8
PRs are welcome. https://github.com/jibran/admin_menu
Comment #3
thallesThis module has been deprecated for Drupal 8.
For Drupal 8: the Admin Toolbar provides an experience similar to admin_menu with the core toolbar.
Comment #4
thalles