function MigrateShortcutStubTest::setUp

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

Overrides MigrateDrupalTestBase::setUp

File

core/modules/shortcut/tests/src/Kernel/Migrate/MigrateShortcutStubTest.php, line 27

Class

MigrateShortcutStubTest
Test stub creation for shortcut entities.

Namespace

Drupal\Tests\shortcut\Kernel\Migrate

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('shortcut');
    // Make sure the 'default' shortcut_set is installed.
    $this->installConfig([
        'shortcut',
    ]);
}

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