function node_access_test_language_node_grants
Same name in other branches
- 9 core/modules/node/tests/modules/node_access_test_language/node_access_test_language.module \node_access_test_language_node_grants()
- 8.9.x core/modules/node/tests/modules/node_access_test_language/node_access_test_language.module \node_access_test_language_node_grants()
- 10 core/modules/node/tests/modules/node_access_test_language/node_access_test_language.module \node_access_test_language_node_grants()
Implements hook_node_grants().
This module defines a single grant realm. All users belong to this group.
File
-
core/
modules/ node/ tests/ modules/ node_access_test_language/ node_access_test_language.module, line 20
Code
function node_access_test_language_node_grants($account, $operation) {
$grants['node_access_language_test'] = [
7888,
];
return $grants;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.