function node_access_test_empty_node_access_records

Same name in other branches
  1. 9 core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.module \node_access_test_empty_node_access_records()
  2. 8.9.x core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.module \node_access_test_empty_node_access_records()
  3. 11.x core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.module \node_access_test_empty_node_access_records()

Implements hook_node_access_records().

File

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

Code

function node_access_test_empty_node_access_records(NodeInterface $node) {
    return [];
}

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