function node_access_test_empty_node_grants
Same name in other branches
- 9 core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.module \node_access_test_empty_node_grants()
- 8.9.x core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.module \node_access_test_empty_node_grants()
- 11.x core/modules/node/tests/modules/node_access_test_empty/node_access_test_empty.module \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.