Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
node.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Jun 2013 at 13:25 UTC
Updated:
29 Jul 2014 at 22:31 UTC
Currently, there is the idea to replace all usages of node_access in general and replace the calls by $entity->access(). See #1947880: Replace node_access() by $entity->access() for further information.
Unfortunately the patch in the referenced issue can't remove node_access yet because there are still access callback definitions in node_menu() that require node_access. So after the node_menu was improved by using the new routing system, node_access should eventually be removed.
Comments
Comment #1
berdirRewriting node_menu() is not in the scope of this issue.
Comment #2
xanonode_menu()no longer usesnode_access(). #1947880: Replace node_access() by $entity->access() will convert any or most remaining usages of the function.Comment #3
berdirYes, it will, I think the latest patch already removes the function.