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_entity_access()
and hook_entity_create_access()
have not been converted to use the \Drupal\Core\Access\AccessInterface
constants yet. The conversion also makes NODE_ACCESS_*
constants obsolete, so remove those and update the corresponding documentation, which includes references to hook_node_access()
, which no longer exists.
Comment | File | Size | Author |
---|---|---|---|
#5 | drupal_2151219_5.patch | 23.02 KB | Xano |
#5 | interdiff.txt | 8.89 KB | Xano |
Comments
Comment #1
XanoLet's see if I got them all.
Comment #3
XanoComment #5
XanoI merged #2112023: Remove hook_node_access() in favor of hook_ENTITY_TYPE_access() into this, as using the
AccessInterface
constants makes theNODE_ACCESS_*
obsolete, and then thehook_node_access()
documentation would be so incoherent and out of place, that it made sense to me to make the whole thing consistent in one patch.Comment #6
XanoComment #8
BerdirThis is obsolete with the AccessResult changes.