NodePreviewAnonymousTest::$modules

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

Enable node module to test on the preview.

Type: array

Overrides BrowserTestBase::$modules

File

core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php, line 21

Class

NodePreviewAnonymousTest
Tests the node entity preview functionality for anonymous user.

Namespace

Drupal\Tests\node\Functional

Code

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

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