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.
Hook menu is gone in favor of routes, we need to remove them from Devel and submodules.
Related issues:
* #2177041: Remove all implementations of hook_menu
* #2047633: Move definition of menu links to hook_menu_link_defaults(), decouple key name from path, and make 'parent' explicit
Comment | File | Size | Author |
---|---|---|---|
#2 | 2208875-devel-node-access-fatal-errors-2.patch | 3.81 KB | ianthomas_uk |
Comments
Comment #1
pcambraI've fixed it for devel module in http://drupalcode.org/project/devel.git/commit/9280834 and devel generate is fine, but we've got devel node access to fix still.
Comment #2
ianthomas_ukLots has changed. This patch fixes some of the fatals I saw just by adding the two blocks to a node page. I got as far as menu_get_item() and then got stuck. There are calls to theme() all over the place that need to be replaced too.
I was really just trying to replace drupal_set_title(), which is soon to be removed from core. I have done, but I've not been able to execute that code to test it.
Comment #3
salvisThank you for your patch, ianthomas_uk!
I'm marking this fixed without a commit because any fatal errors should be gone with #2380335: Devel Node Access block is broken. I've already implemented some of your changes and the rest will go into #2643132: Port DNA Debug Mode to D8.
There's more legacy code that needs to be ported/fixed, but none of it is currently accessible. #2643136: Plan to port DNA to D8 will take care of that.