function Upgrade6Test::getEntityCounts

Same name in this branch
  1. 11.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6Test::getEntityCounts()
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::getEntityCounts()
  2. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6Test::getEntityCounts()
  3. 10 core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php \Drupal\Tests\forum\Functional\migrate_drupal\d6\Upgrade6Test::getEntityCounts()
  4. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6Test::getEntityCounts()

Overrides MigrateUpgradeTestBase::getEntityCounts

1 call to Upgrade6Test::getEntityCounts()
Upgrade6Test::testUpgrade in core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php
Executes all steps of migrations upgrade.

File

core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php, line 53

Class

Upgrade6Test
Tests Drupal 6 upgrade using the migrate UI.

Namespace

Drupal\Tests\forum\Functional\migrate_drupal\d6

Code

protected function getEntityCounts() {
    return [
        'action' => 27,
        'base_field_override' => 22,
        'block' => 33,
        'block_content' => 1,
        'block_content_type' => 1,
        'comment' => 4,
        'comment_type' => 8,
        'contact_form' => 2,
        'contact_message' => 0,
        'date_format' => 12,
        'editor' => 2,
        'entity_form_display' => 18,
        'entity_form_mode' => 1,
        'entity_view_display' => 34,
        'entity_view_mode' => 11,
        'field_config' => 41,
        'field_storage_config' => 25,
        'file' => 1,
        'filter_format' => 7,
        'image_style' => 6,
        'menu' => 8,
        'menu_link_content' => 1,
        'node' => 3,
        'node_type' => 7,
        'path_alias' => 4,
        'search_page' => 3,
        'shortcut' => 2,
        'shortcut_set' => 1,
        'taxonomy_term' => 7,
        'taxonomy_vocabulary' => 4,
        'user' => 3,
        'user_role' => 4,
        'view' => 14,
    ];
}

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