CommentItemTest::$modules

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

Modules to enable.

Type: array

Overrides FieldKernelTestBase::$modules

File

core/modules/comment/tests/src/Kernel/CommentItemTest.php, line 26

Class

CommentItemTest
Tests the new entity API for the comment field type.

Namespace

Drupal\Tests\comment\Kernel

Code

protected static $modules = [
    'comment',
    'entity_test',
    'user',
];

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