NodeAccessRecordsTest::$modules
Same name in other branches
- 8.9.x core/modules/node/tests/src/Kernel/NodeAccessRecordsTest.php \Drupal\Tests\node\Kernel\NodeAccessRecordsTest::modules
- 10 core/modules/node/tests/src/Kernel/NodeAccessRecordsTest.php \Drupal\Tests\node\Kernel\NodeAccessRecordsTest::modules
- 11.x core/modules/node/tests/src/Kernel/NodeAccessRecordsTest.php \Drupal\Tests\node\Kernel\NodeAccessRecordsTest::modules
Enable a module that implements node access API hooks and alter hook.
Type: array
Overrides NodeAccessTestBase::$modules
File
-
core/
modules/ node/ tests/ src/ Kernel/ NodeAccessRecordsTest.php, line 21
Class
- NodeAccessRecordsTest
- Tests hook_node_access_records when acquiring grants.
Namespace
Drupal\Tests\node\KernelCode
protected static $modules = [
'node_test',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.