protected static property NodeAccessCacheabilityWithNodeGrants::$modules in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/tests/src/Functional/NodeAccessCacheabilityWithNodeGrants.php \Drupal\Tests\node\Functional\NodeAccessCacheabilityWithNodeGrants::modules
- 10 core/modules/node/tests/src/Functional/NodeAccessCacheabilityWithNodeGrants.php \Drupal\Tests\node\Functional\NodeAccessCacheabilityWithNodeGrants::modules
Modules to enable.
The test runner will merge the $modules lists from this class, the class it extends, and so on up the class hierarchy. It is not necessary to include modules in your list that a parent class has already declared.
Type: string[]
Overrides BrowserTestBase::$modules
See also
\Drupal\Tests\BrowserTestBase::installDrupal()
File
- core/
modules/ node/ tests/ src/ Functional/ NodeAccessCacheabilityWithNodeGrants.php, line 22
Class
- NodeAccessCacheabilityWithNodeGrants
- Tests node view access cacheability with node grants.
Namespace
Drupal\Tests\node\FunctionalCode
protected static $modules = [
'node',
'node_test',
];