function Upgrade7Test::getEntityCountsIncremental

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

Overrides MigrateUpgradeTestBase::getEntityCountsIncremental

File

core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php, line 124

Class

Upgrade7Test
Tests Drupal 7 upgrade using the migrate UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d7

Code

protected function getEntityCountsIncremental() {
    $counts = $this->getEntityCounts();
    $counts['block_content'] = 2;
    $counts['comment'] = 5;
    $counts['file'] = 4;
    $counts['menu_link_content'] = 13;
    $counts['node'] = 8;
    $counts['taxonomy_term'] = 26;
    $counts['user'] = 5;
    return $counts;
}

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