function MigrateDrupalTestBase::migrateContentTypes
Same name in other branches
- 9 core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateDrupalTestBase.php \Drupal\Tests\tracker\Kernel\Migrate\d7\MigrateDrupalTestBase::migrateContentTypes()
- 10 core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateDrupalTestBase.php \Drupal\Tests\tracker\Kernel\Migrate\d7\MigrateDrupalTestBase::migrateContentTypes()
Migrates node types.
2 calls to MigrateDrupalTestBase::migrateContentTypes()
- MigrateTrackerNodeTest::setUp in core/
modules/ tracker/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTrackerNodeTest.php - MigrateTrackerUserTest::setUp in core/
modules/ tracker/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTrackerUserTest.php
File
-
core/
modules/ tracker/ tests/ src/ Kernel/ Migrate/ d7/ MigrateDrupalTestBase.php, line 58
Class
- MigrateDrupalTestBase
- Base class for Tracker Drupal 7 migration tests.
Namespace
Drupal\Tests\tracker\Kernel\Migrate\d7Code
protected function migrateContentTypes() {
$this->installConfig([
'node',
]);
$this->installEntitySchema('node');
$this->executeMigration('d7_node_type');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.