function Upgrade7Test::getEntityCounts

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

Overrides MigrateUpgradeTestBase::getEntityCounts

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

File

core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php, line 64

Class

Upgrade7Test
Tests Drupal 7 upgrade using the migrate UI.

Namespace

Drupal\Tests\forum\Functional\migrate_drupal\d7

Code

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

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