function MigrateBookTest::setUp
Same name in this branch
- 10 core/modules/book/tests/src/Kernel/Migrate/d7/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d7\MigrateBookTest::setUp()
Same name in other branches
- 9 core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d6\MigrateBookTest::setUp()
- 9 core/modules/book/tests/src/Kernel/Migrate/d7/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d7\MigrateBookTest::setUp()
- 8.9.x core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d6\MigrateBookTest::setUp()
- 8.9.x core/modules/book/tests/src/Kernel/Migrate/d7/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d7\MigrateBookTest::setUp()
- 11.x core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d6\MigrateBookTest::setUp()
- 11.x core/modules/book/tests/src/Kernel/Migrate/d7/MigrateBookTest.php \Drupal\Tests\book\Kernel\Migrate\d7\MigrateBookTest::setUp()
Overrides MigrateDrupal6TestBase::setUp
File
-
core/
modules/ book/ tests/ src/ Kernel/ Migrate/ d6/ MigrateBookTest.php, line 26
Class
- MigrateBookTest
- Upgrade book structure.
Namespace
Drupal\Tests\book\Kernel\Migrate\d6Code
protected function setUp() : void {
parent::setUp();
$this->installSchema('book', [
'book',
]);
$this->installSchema('node', [
'node_access',
]);
$this->migrateUsers(FALSE);
$this->installConfig([
'node',
]);
$this->executeMigrations([
'd6_node_settings',
'd6_node_type',
'd6_node',
'd6_book',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.