Change record status: 
Project: 
Introduced in branch: 
11.4.x
Introduced in version: 
11.4.0
Description: 

node_access_grants has been deprecated.

Use \Drupal::service(NodeGrantsHelper::class)->nodeAccessGrants($operation, $account); instead.

The following now require NodeGrantsHelper as an argument.

  • NodeAccessGrantsCacheContext()
  • NodeGrantDatabaseStorage()
Impacts: 
Module developers