function MigrateBlockContentBodyFieldTest::setUp
Same name in other branches
- 9 core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php \Drupal\Tests\block_content\Kernel\Migrate\MigrateBlockContentBodyFieldTest::setUp()
- 10 core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php \Drupal\Tests\block_content\Kernel\Migrate\MigrateBlockContentBodyFieldTest::setUp()
- 11.x core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentBodyFieldTest.php \Drupal\Tests\block_content\Kernel\Migrate\MigrateBlockContentBodyFieldTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
-
core/
modules/ block_content/ tests/ src/ Kernel/ Migrate/ MigrateBlockContentBodyFieldTest.php, line 23
Class
- MigrateBlockContentBodyFieldTest
- Attaches a body field to the custom block type.
Namespace
Drupal\Tests\block_content\Kernel\MigrateCode
protected function setUp() {
parent::setUp();
$this->installEntitySchema('block_content');
$this->installConfig([
'block_content',
]);
$this->executeMigrations([
'block_content_type',
'block_content_body_field',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.