CommentStringIdEntitiesTest::$modules

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

Modules to install.

Type: array

Overrides KernelTestBase::$modules

File

core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php, line 21

Class

CommentStringIdEntitiesTest
Tests that comment fields cannot be added to entities with non-integer IDs.

Namespace

Drupal\Tests\comment\Kernel

Code

public static $modules = [
    'comment',
    'user',
    'field',
    'field_ui',
    'entity_test',
    'text',
];

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