function MigrateShortcutSetTest::setUp
Same name in other branches
- 9 core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php \Drupal\Tests\shortcut\Kernel\Migrate\d7\MigrateShortcutSetTest::setUp()
- 10 core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php \Drupal\Tests\shortcut\Kernel\Migrate\d7\MigrateShortcutSetTest::setUp()
- 11.x core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php \Drupal\Tests\shortcut\Kernel\Migrate\d7\MigrateShortcutSetTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
-
core/
modules/ shortcut/ tests/ src/ Kernel/ Migrate/ d7/ MigrateShortcutSetTest.php, line 31
Class
- MigrateShortcutSetTest
- Test shortcut_set migration to ShortcutSet entities.
Namespace
Drupal\Tests\shortcut\Kernel\Migrate\d7Code
protected function setUp() {
parent::setUp();
$this->installEntitySchema('shortcut');
$this->installEntitySchema('menu_link_content');
\Drupal::service('router.builder')->rebuild();
$this->executeMigration('d7_shortcut_set');
$this->executeMigration('d7_menu');
$this->executeMigration('d7_menu_links');
$this->executeMigration('d7_shortcut');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.