function Upgrade6Test::getEntityCounts

Same name in other branches
  1. 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6Test::getEntityCounts()
  2. 10 core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php \Drupal\Tests\forum\Functional\migrate_drupal\d6\Upgrade6Test::getEntityCounts()
  3. 10 core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d6\Upgrade6Test::getEntityCounts()
  4. 11.x core/modules/forum/tests/src/Functional/migrate_drupal/d6/Upgrade6Test.php \Drupal\Tests\forum\Functional\migrate_drupal\d6\Upgrade6Test::getEntityCounts()
  5. 11.x 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::getEntityCountsIncremental in core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php
Gets expected number of entities per entity after incremental migration.

File

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

Class

Upgrade6Test
Tests Drupal 6 upgrade using the migrate UI.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional\d6

Code

protected function getEntityCounts() {
    return [
        'block' => 36,
        'block_content' => 2,
        'block_content_type' => 1,
        'comment' => 8,
        // The 'standard' profile provides the 'comment' comment type, and the
        // migration creates 12 comment types, one per node type.
'comment_type' => 14,
        'contact_form' => 5,
        'contact_message' => 0,
        'configurable_language' => 5,
        'editor' => 2,
        'field_config' => 104,
        'field_storage_config' => 72,
        'file' => 7,
        'filter_format' => 7,
        'image_style' => 6,
        'language_content_settings' => 15,
        'node' => 18,
        // The 'book' module provides the 'book' node type, and the migration
        // creates 12 node types.
'node_type' => 14,
        'search_page' => 2,
        'shortcut' => 2,
        'shortcut_set' => 1,
        'action' => 33,
        'menu' => 8,
        'path_alias' => 8,
        'taxonomy_term' => 15,
        'taxonomy_vocabulary' => 7,
        'tour' => 6,
        'user' => 7,
        'user_role' => 7,
        'menu_link_content' => 10,
        'view' => 14,
        'date_format' => 12,
        'entity_form_display' => 31,
        'entity_form_mode' => 1,
        'entity_view_display' => 58,
        'entity_view_mode' => 12,
        'base_field_override' => 41,
    ];
}

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