function MigrateTermNodeCompleteTest::setUp
Overrides MigrateDrupal6TestBase::setUp
File
-
core/
modules/ taxonomy/ tests/ src/ Kernel/ Migrate/ d6/ MigrateTermNodeCompleteTest.php, line 31
Class
- MigrateTermNodeCompleteTest
- Upgrade taxonomy term node associations.
Namespace
Drupal\Tests\taxonomy\Kernel\Migrate\d6Code
protected function setUp() : void {
parent::setUp();
// Remove the classic node table made in setup.
$this->removeNodeMigrateMapTable(NodeMigrateType::NODE_MIGRATE_TYPE_CLASSIC, '6');
$this->installSchema('node', [
'node_access',
]);
$this->installEntitySchema('node');
$this->executeMigration('language');
$this->migrateUsers(FALSE);
$this->migrateFields();
$this->executeMigrations([
'd6_node_settings',
'd6_node_complete',
]);
$this->migrateTaxonomy();
// This is a base plugin ID and we want to run all derivatives.
$this->executeMigrations([
'd6_term_node',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.