protected function MigrateDrupal6TestBase::migrateContent in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate_drupal/src/Tests/d6/MigrateDrupal6TestBase.php \Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase::migrateContent()
Executes all content migrations.
Parameters
bool $include_revisions: If TRUE, migrates node revisions.
5 calls to MigrateDrupal6TestBase::migrateContent()
- MigrateBookTest::setUp in core/
modules/ book/ src/ Tests/ Migrate/ d6/ MigrateBookTest.php - Performs setup tasks before each individual test method is run.
- MigrateCommentTest::setUp in core/
modules/ comment/ src/ Tests/ Migrate/ d6/ MigrateCommentTest.php - Performs setup tasks before each individual test method is run.
- MigrateTermNodeRevisionTest::setUp in core/
modules/ taxonomy/ src/ Tests/ Migrate/ d6/ MigrateTermNodeRevisionTest.php - Performs setup tasks before each individual test method is run.
- MigrateTermNodeTest::setUp in core/
modules/ taxonomy/ src/ Tests/ Migrate/ d6/ MigrateTermNodeTest.php - Performs setup tasks before each individual test method is run.
- MigrateUploadTest::setUp in core/
modules/ file/ src/ Tests/ Migrate/ d6/ MigrateUploadTest.php - Performs setup tasks before each individual test method is run.
File
- core/
modules/ migrate_drupal/ src/ Tests/ d6/ MigrateDrupal6TestBase.php, line 102 - Contains \Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase.
Class
- MigrateDrupal6TestBase
- Base class for Drupal 6 migration tests.
Namespace
Drupal\migrate_drupal\Tests\d6Code
protected function migrateContent($include_revisions = FALSE) {
$this
->migrateUsers(FALSE);
$this
->migrateFields();
$this
->installEntitySchema('node');
$this
->executeMigrations([
'd6_node_settings',
'd6_node:*',
]);
if ($include_revisions) {
$this
->executeMigrations([
'd6_node_revision:*',
]);
}
}