NodeAccessLanguageAwareCombinationTest::$modules

Same name in other branches
  1. 9 core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php \Drupal\Tests\node\Kernel\NodeAccessLanguageAwareCombinationTest::modules
  2. 8.9.x core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php \Drupal\Tests\node\Kernel\NodeAccessLanguageAwareCombinationTest::modules
  3. 10 core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php \Drupal\Tests\node\Kernel\NodeAccessLanguageAwareCombinationTest::modules

Enable language and two node access modules.

Type: array

Overrides NodeAccessTestBase::$modules

File

core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php, line 26

Class

NodeAccessLanguageAwareCombinationTest
Tests node access with multiple languages and two node access modules.

Namespace

Drupal\Tests\node\Kernel

Code

protected static $modules = [
    'language',
    'node_access_test_language',
    'node_access_test',
];

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