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.
Problem/Motivation
In #2222719: Use parameter matching via reflection for access checks instead of pulling variables from request attributes, I was switching some of the access checks away from services, and _node_revision_access() broke (because I didn't notice it).
Proposed resolution
It just wraps a method, is only called from tests, and is prefixed with an underscore. Let's kill it.
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Comment | File | Size | Author |
---|---|---|---|
_node_revision_access.patch | 5.33 KB | tim.plunkett | |
Comments
Comment #1
saltednutPretty straight forward. Really no good reason for this proxy to exist.
Node revision permissions test passes locally.
Comment #2
alexpottCommitted 7f273d2 and pushed to 8.x. Thanks!