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.
#2109035: Make access checkers (much) easier to find replaced StaticAccessCheckInterface
Patch attached which renames to use AccessInterface
Comment | File | Size | Author |
---|---|---|---|
devel-switchacess.patch | 852 bytes | benjy | |
Comments
Comment #1
benjy CreditAttribution: benjy commentedComment #2
benjy CreditAttribution: benjy commentedremoved spaces from title.
Comment #3
benjy CreditAttribution: benjy commentedBumping to critical because this stops devel working with D8 right now.
Comment #4
rjacobs CreditAttribution: rjacobs commentedYeah. I was able to install devel fine in D8 alpha-7, but I just tried recently to do it on another test environment based on D8 HEAD, and got a WSOD trying to enable devel (PHP Fatal error: Interface 'Drupal\Core\Access\StaticAccessCheckInterface' not found). The patch addresses this.
Seems simple enough of a fix, though I'm still new enough to D8 to not fully comprehend all the changes from #2109035. Anyway, consider this a confirming review.
Comment #5
h3rj4n CreditAttribution: h3rj4n commentedThe patch works for me.
Comment #6
pcambraThanks a lot for the fix, pushed to the 8.x branch.
Maybe is just me, but I think we shouldn't open "critical bugs" against something is not a stable version for drupal or devel. Keeping up to date with 8.x is hard enough :P