function MigrateThemeSettingsTest::setUp

Same name in other branches
  1. 9 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() {
    parent::setUp();
    // Install bartik and seven themes.
    \Drupal::service('theme_installer')->install([
        'bartik',
        'seven',
    ]);
    $this->executeMigration('d7_theme_settings');
}

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