NodeAccessLanguageFallbackTest::$modules

Same name in other branches
  1. 9 core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php \Drupal\Tests\node\Functional\NodeAccessLanguageFallbackTest::modules
  2. 10 core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php \Drupal\Tests\node\Functional\NodeAccessLanguageFallbackTest::modules
  3. 11.x core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php \Drupal\Tests\node\Functional\NodeAccessLanguageFallbackTest::modules

Enable language and a non-language-aware node access module.

Type: array

Overrides NodeTestBase::$modules

File

core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php, line 19

Class

NodeAccessLanguageFallbackTest
Tests that the node_access system stores the proper fallback marker.

Namespace

Drupal\Tests\node\Functional

Code

public static $modules = [
    'language',
    'node_access_test',
    'content_translation',
];

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