Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pcambra’s picture

Component: devel » devel_node_access

I'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.

ianthomas_uk’s picture

Title: Hook menu is gone » Fix fatal errors in devel_node_access following hook_menu removal
FileSize
3.81 KB

Lots 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.

salvis’s picture

Status: Active » Fixed

Thank 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.