CommentStringIdEntitiesTest::$modules
Same name in other branches
- 8.9.x 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
- 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\KernelCode
protected 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.