function node_access_test_empty_node_grants

Implements hook_node_grants().

File

core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.module, line 13

Code

function node_access_test_empty_node_grants($account, $operation) {
  return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.