protected static property CommentStringIdEntitiesTest::$modules in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php \Drupal\Tests\comment\Kernel\CommentStringIdEntitiesTest::modules
- 9 core/modules/comment/tests/src/Kernel/CommentStringIdEntitiesTest.php \Drupal\Tests\comment\Kernel\CommentStringIdEntitiesTest::modules
Modules to install.
Type: array
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\KernelCode
protected static $modules = [
  'comment',
  'user',
  'field',
  'field_ui',
  'entity_test',
  'text',
];