function MigrateDrupal6TestBase::migrateTaxonomy

Same name in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::migrateTaxonomy()
  2. 10 core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::migrateTaxonomy()
  3. 11.x core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase::migrateTaxonomy()

Executes all taxonomy migrations.

6 calls to MigrateDrupal6TestBase::migrateTaxonomy()
MigrateForumTest::setUp in core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumTest.php
MigrateTermNodeComplete::setUp in core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeComplete.php
MigrateTermNodeRevisionTest::setUp in core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeRevisionTest.php
MigrateTermNodeTest::setUp in core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeTest.php
MigrateTermNodeTranslationTest::setUp in core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTermNodeTranslationTest.php

... See full list

File

core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php, line 123

Class

MigrateDrupal6TestBase
Base class for Drupal 6 migration tests.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d6

Code

protected function migrateTaxonomy() {
    $this->migrateContentTypes();
    $this->installEntitySchema('taxonomy_term');
    $this->executeMigrations([
        'd6_taxonomy_vocabulary',
        'd6_vocabulary_field',
        'd6_vocabulary_field_instance',
        'd6_vocabulary_entity_display',
        'd6_vocabulary_entity_form_display',
        'd6_taxonomy_term',
    ]);
}

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