function Upgrade6Test::getEntityCountsIncremental

Same name in this branch
  1. 11.x core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php \Drupal\Tests\forum\Functional\migrate_drupal\d6\Upgrade6Test::getEntityCountsIncremental()
Same name in other branches
  1. 9 core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6Test::getEntityCountsIncremental()
  2. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6Test::getEntityCountsIncremental()
  3. 10 core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php \Drupal\Tests\forum\Functional\migrate_drupal\d6\Upgrade6Test::getEntityCountsIncremental()
  4. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6Test::getEntityCountsIncremental()

Overrides MigrateUpgradeTestBase::getEntityCountsIncremental

1 call to Upgrade6Test::getEntityCountsIncremental()
Upgrade6TestWithContentModeration::getEntityCountsIncremental in core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6TestWithContentModeration.php
Gets expected number of entities per entity after incremental migration.
1 method overrides Upgrade6Test::getEntityCountsIncremental()
Upgrade6TestWithContentModeration::getEntityCountsIncremental in core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6TestWithContentModeration.php
Gets expected number of entities per entity after incremental migration.

File

core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php, line 121

Class

Upgrade6Test
Tests Drupal 6 upgrade using the migrate UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d6

Code

protected function getEntityCountsIncremental() {
    $counts = $this->getEntityCounts();
    $counts['block_content'] = 3;
    $counts['comment'] = 9;
    $counts['file'] = 8;
    $counts['menu_link_content'] = 11;
    $counts['node'] = 19;
    $counts['taxonomy_term'] = 16;
    $counts['user'] = 8;
    return $counts;
}

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