function MigrateDrupal6TestBase::migrateContentTypes

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

Migrates node types.

12 calls to MigrateDrupal6TestBase::migrateContentTypes()
MigrateCommentEntityDisplayTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityDisplayTest.php
MigrateCommentEntityFormDisplayTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentEntityFormDisplayTest.php
MigrateCommentFieldInstanceTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldInstanceTest.php
MigrateDrupal6TestBase::migrateFields in core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php
Executes all field migrations.
MigrateDrupal6TestBase::migrateTaxonomy in core/modules/migrate_drupal/tests/src/Kernel/d6/MigrateDrupal6TestBase.php
Executes all taxonomy migrations.

... See full list

File

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

Class

MigrateDrupal6TestBase
Base class for Drupal 6 migration tests.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d6

Code

protected function migrateContentTypes() {
    $this->installConfig([
        'node',
    ]);
    $this->executeMigration('d6_node_type');
}

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