function Upgrade7Test::getEntityCounts

Same name in this branch
  1. 9 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. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d7\Upgrade7Test::getEntityCounts()
  2. 10 core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php \Drupal\Tests\forum\Functional\migrate_drupal\d7\Upgrade7Test::getEntityCounts()
  3. 10 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/rdf/tests/src/Functional/Migrate/Upgrade7Test.php
Executes all steps of migrations upgrade.

File

core/modules/rdf/tests/src/Functional/Migrate/Upgrade7Test.php, line 50

Class

Upgrade7Test
Tests Drupal 7 upgrade using the migrate UI.

Namespace

Drupal\Tests\rdf\Functional\Migrate

Code

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

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