function MigrateBlockContentTest::setUp

Same name in other branches
  1. 8.9.x core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateBlockContentTest.php \Drupal\Tests\block_content\Kernel\Migrate\d6\MigrateBlockContentTest::setUp()
  2. 10 core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateBlockContentTest.php \Drupal\Tests\block_content\Kernel\Migrate\d6\MigrateBlockContentTest::setUp()
  3. 11.x core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateBlockContentTest.php \Drupal\Tests\block_content\Kernel\Migrate\d6\MigrateBlockContentTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/block_content/tests/src/Kernel/Migrate/d6/MigrateBlockContentTest.php, line 23

Class

MigrateBlockContentTest
Upgrade custom blocks.

Namespace

Drupal\Tests\block_content\Kernel\Migrate\d6

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('block_content');
    $this->installConfig([
        'block_content',
    ]);
    $this->executeMigrations([
        'd6_filter_format',
        'block_content_type',
        'block_content_body_field',
        'd6_custom_block',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.