NodeAccessRecordsTest::$modules

Same name in other branches
  1. 8.9.x core/modules/node/tests/src/Kernel/NodeAccessRecordsTest.php \Drupal\Tests\node\Kernel\NodeAccessRecordsTest::modules
  2. 10 core/modules/node/tests/src/Kernel/NodeAccessRecordsTest.php \Drupal\Tests\node\Kernel\NodeAccessRecordsTest::modules
  3. 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\Kernel

Code

protected static $modules = [
    'node_test',
];

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