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