CommentTestBase::$modules

Same name in this branch
  1. 8.9.x core/modules/comment/src/Tests/CommentTestBase.php \Drupal\comment\Tests\CommentTestBase::modules
  2. 8.9.x core/modules/comment/tests/src/Functional/CommentTestBase.php \Drupal\Tests\comment\Functional\CommentTestBase::modules
  3. 8.9.x core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::modules
Same name in other branches
  1. 9 core/modules/comment/tests/src/Functional/CommentTestBase.php \Drupal\Tests\comment\Functional\CommentTestBase::modules
  2. 9 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::modules
  3. 10 core/modules/comment/tests/src/Functional/CommentTestBase.php \Drupal\Tests\comment\Functional\CommentTestBase::modules
  4. 10 core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::modules
  5. 11.x core/modules/comment/tests/src/Functional/CommentTestBase.php \Drupal\Tests\comment\Functional\CommentTestBase::modules
  6. 11.x core/modules/comment/tests/src/Functional/Views/CommentTestBase.php \Drupal\Tests\comment\Functional\Views\CommentTestBase::modules

Modules to install.

Type: array

Overrides ViewTestBase::$modules

File

core/modules/comment/src/Tests/Views/CommentTestBase.php, line 29

Class

CommentTestBase
Provides setup and helper methods for comment views tests.

Namespace

Drupal\comment\Tests\Views

Code

public static $modules = [
    'node',
    'comment',
    'comment_test_views',
];

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