protected function MigrateDrupal7TestBase::migrateContentTypes in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::migrateContentTypes()
Migrates node types.
15 calls to MigrateDrupal7TestBase::migrateContentTypes()
- MigrateBookTest::setUp in core/
modules/ book/ tests/ src/ Kernel/ Migrate/ d7/ MigrateBookTest.php - MigrateCommentEntityDisplayTest::setUp in core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d7/ MigrateCommentEntityDisplayTest.php - MigrateCommentEntityFormDisplayTest::setUp in core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d7/ MigrateCommentEntityFormDisplayTest.php - MigrateCommentFieldInstanceTest::setUp in core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d7/ MigrateCommentFieldInstanceTest.php - MigrateDrupal7TestBase::migrateContent in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d7/ MigrateDrupal7TestBase.php - Executes all content migrations.
File
- core/
modules/ migrate_drupal/ tests/ src/ Kernel/ d7/ MigrateDrupal7TestBase.php, line 68
Class
- MigrateDrupal7TestBase
- Base class for Drupal 7 migration tests.
Namespace
Drupal\Tests\migrate_drupal\Kernel\d7Code
protected function migrateContentTypes() {
$this
->installConfig([
'node',
]);
$this
->installEntitySchema('node');
$this
->executeMigration('d7_node_type');
}