function MigrateBlockContentEntityFormDisplayTest::setUp

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

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/block_content/tests/src/Kernel/Migrate/MigrateBlockContentEntityFormDisplayTest.php, line 25

Class

MigrateBlockContentEntityFormDisplayTest
Tests migration of block content body field form display configuration.

Namespace

Drupal\Tests\block_content\Kernel\Migrate

Code

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

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