function MigrateVocabularyFieldInstanceTest::testVocabularyFieldInstance
Tests the Drupal 6 vocabulary-node type association migration.
File
-
core/
modules/ forum/ tests/ src/ Kernel/ Migrate/ d6/ MigrateVocabularyFieldInstanceTest.php, line 54
Class
- MigrateVocabularyFieldInstanceTest
- Vocabulary field instance migration.
Namespace
Drupal\Tests\forum\Kernel\Migrate\d6Code
public function testVocabularyFieldInstance() : void {
$this->assertEntity('node.forum.taxonomy_forums', 'Forums', 'entity_reference', FALSE, FALSE);
$this->assertEntity('node.forum.field_trees', 'Trees', 'entity_reference', FALSE, FALSE);
$this->assertEntity('node.forum.field_freetags', 'FreeTags', 'entity_reference', FALSE, FALSE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.