function Upgrade6Test::getEntityCountsIncremental
Gets expected number of entities per entity after incremental migration.
Return value
int[] An array of expected counts keyed by entity type ID.
Overrides MigrateUpgradeTestBase::getEntityCountsIncremental
File
-
core/
modules/ contact/ tests/ src/ Functional/ migrate_drupal_ui/ d6/ Upgrade6Test.php, line 105
Class
- Upgrade6Test
- Tests Drupal 6 upgrade using the migrate UI.
Namespace
Drupal\Tests\contact\Functional\migrate_drupal_ui\d6Code
protected function getEntityCountsIncremental() {
$counts = $this->getEntityCounts();
$counts['block_content'] = 2;
$counts['comment'] = 2;
$counts['file'] = 2;
$counts['menu_link_content'] = 7;
$counts['node'] = 2;
$counts['taxonomy_term'] = 2;
$counts['user'] = 4;
return $counts;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.