protected function CreateTestContentEntitiesTrait::installEntitySchemas in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php \Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait::installEntitySchemas()
- 9 core/modules/migrate_drupal/tests/src/Traits/CreateTestContentEntitiesTrait.php \Drupal\Tests\migrate_drupal\Traits\CreateTestContentEntitiesTrait::installEntitySchemas()
Install required entity schemas.
2 calls to CreateTestContentEntitiesTrait::installEntitySchemas()
- MigrateDrupal6AuditIdsTest::setUp in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d6/ MigrateDrupal6AuditIdsTest.php - MigrateDrupal7AuditIdsTest::setUp in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d7/ MigrateDrupal7AuditIdsTest.php
File
- core/
modules/ migrate_drupal/ tests/ src/ Traits/ CreateTestContentEntitiesTrait.php, line 36
Class
- CreateTestContentEntitiesTrait
- Provides helper methods for creating test content.
Namespace
Drupal\Tests\migrate_drupal\TraitsCode
protected function installEntitySchemas() {
$this
->installEntitySchema('block_content');
$this
->installEntitySchema('comment');
$this
->installEntitySchema('file');
$this
->installEntitySchema('menu_link_content');
$this
->installEntitySchema('node');
$this
->installEntitySchema('path_alias');
$this
->installEntitySchema('taxonomy_term');
$this
->installEntitySchema('user');
}