You are here

function scheduler_access_test_node_grants in Scheduler 8

Same name and namespace in other branches
  1. 2.x tests/modules/scheduler_access_test/scheduler_access_test.module \scheduler_access_test_node_grants()

Implements hook_node_grants().

File

tests/modules/scheduler_access_test/scheduler_access_test.module, line 31
Installation file for Scheduler Access Test module.

Code

function scheduler_access_test_node_grants(AccountInterface $account, $op) {

  // This hook needs to exist, but we do not return any grants.
  return [];
}