function MigrateBlockContentTranslationTest::setUp
Overrides MigrateDrupal6TestBase::setUp
File
-
core/
modules/ block/ tests/ src/ Kernel/ Migrate/ d6/ MigrateBlockContentTranslationTest.php, line 35
Class
- MigrateBlockContentTranslationTest
- Tests migration of i18n block translations.
Namespace
Drupal\Tests\block\Kernel\Migrate\d6Code
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('block_content');
$this->installConfig([
'block',
]);
$this->installConfig([
'block_content',
]);
$this->executeMigrations([
'language',
'd6_filter_format',
'block_content_type',
'block_content_body_field',
'd6_custom_block',
'd6_user_role',
'd6_block',
'd6_block_translation',
]);
block_rebuild();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.