function MigrateEntityTranslationSettingsTest::setUp
Same name in other branches
- 9 core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php \Drupal\Tests\content_translation\Kernel\Migrate\d7\MigrateEntityTranslationSettingsTest::setUp()
- 10 core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php \Drupal\Tests\content_translation\Kernel\Migrate\d7\MigrateEntityTranslationSettingsTest::setUp()
- 11.x core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php \Drupal\Tests\content_translation\Kernel\Migrate\d7\MigrateEntityTranslationSettingsTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
-
core/
modules/ content_translation/ tests/ src/ Kernel/ Migrate/ d7/ MigrateEntityTranslationSettingsTest.php, line 32
Class
- MigrateEntityTranslationSettingsTest
- Tests the migration of entity translation settings.
Namespace
Drupal\Tests\content_translation\Kernel\Migrate\d7Code
protected function setUp() {
parent::setUp();
$this->installConfig([
'comment',
'content_translation',
'node',
'taxonomy',
'user',
]);
$this->installEntitySchema('comment');
$this->installEntitySchema('node');
$this->installEntitySchema('taxonomy_term');
$this->installEntitySchema('user');
$this->executeMigrations([
'd7_comment_type',
'd7_node_type',
'd7_taxonomy_vocabulary',
'd7_entity_translation_settings',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.