function MigrateThemeSettingsTest::setUp

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

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/system/tests/src/Kernel/Migrate/d7/MigrateThemeSettingsTest.php, line 17

Class

MigrateThemeSettingsTest
Tests migration of Theme settings variables to configuration.

Namespace

Drupal\Tests\system\Kernel\Migrate\d7

Code

protected function setUp() : void {
    parent::setUp();
    // Install Olivero and Claro themes.
    \Drupal::service('theme_installer')->install([
        'olivero',
        'claro',
    ]);
    $this->executeMigration('d7_theme_settings');
}

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