Fix leftover mentions of hook_node_access to hook_ENTITY_TYPE_access

Created on 5 April 2023, about 1 year ago
Updated 20 April 2023, about 1 year ago

Problem/Motivation

While checking #3352043-8: Rename $op operation in hook_node_grants[_alter]() and node_access_grants to $operation β†’ I found that core has mentions of hook_node_access()

Proposed resolution

Replace it with hook_ENTITY_TYPE_access which is used since 9.x

Remaining tasks

patch/review/commit

User interface changes

no

API changes

no

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.1 ✨

Component
OtherΒ  β†’

Last updated about 15 hours ago

Created by

πŸ‡«πŸ‡·France andypost

Live updates comments and jobs are added and updated live.
  • Quick fix

    Very small and simple change. Preferred over Quickfix.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024