NodeAccessLanguageAwareTest::$modules

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

Enable language and a language-aware node access module.

Type: array

Overrides NodeAccessTestBase::$modules

File

core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php, line 24

Class

NodeAccessLanguageAwareTest
Tests multilingual node access with a language-aware module.

Namespace

Drupal\Tests\node\Kernel

Code

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

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