function Upgrade7Test::getEntityCounts
Same name in this branch
- 10 core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php \Drupal\Tests\forum\Functional\migrate_drupal\d7\Upgrade7Test::getEntityCounts()
Same name in other branches
- 9 core/modules/rdf/tests/src/Functional/Migrate/Upgrade7Test.php \Drupal\Tests\rdf\Functional\Migrate\Upgrade7Test::getEntityCounts()
- 9 core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d7\Upgrade7Test::getEntityCounts()
- 8.9.x core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php \Drupal\Tests\migrate_drupal_ui\Functional\d7\Upgrade7Test::getEntityCounts()
- 11.x core/modules/forum/tests/src/Functional/migrate_drupal/d7/Upgrade7Test.php \Drupal\Tests\forum\Functional\migrate_drupal\d7\Upgrade7Test::getEntityCounts()
- 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
2 calls to Upgrade7Test::getEntityCounts()
- Upgrade7Test::getEntityCountsIncremental in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ Upgrade7Test.php - Gets expected number of entities per entity after incremental migration.
- Upgrade7TestWithContentModeration::getEntityCounts in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ Upgrade7TestWithContentModeration.php - Gets the expected number of entities per entity type after migration.
1 method overrides Upgrade7Test::getEntityCounts()
- Upgrade7TestWithContentModeration::getEntityCounts in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ Upgrade7TestWithContentModeration.php - Gets the expected number of entities per entity type after migration.
File
-
core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ Upgrade7Test.php, line 77
Class
- Upgrade7Test
- Tests Drupal 7 upgrade using the migrate UI.
Namespace
Drupal\Tests\migrate_drupal_ui\Functional\d7Code
protected function getEntityCounts() {
return [
'block' => 27,
'block_content' => 1,
'block_content_type' => 1,
'comment' => 4,
// The 'standard' profile provides the 'comment' comment type, and the
// migration creates 6 comment types, one per node type.
'comment_type' => 9,
// Module 'language' comes with 'en', 'und', 'zxx'. Migration adds 'is'
// and 'fr'.
'configurable_language' => 5,
'contact_form' => 3,
'contact_message' => 0,
'editor' => 2,
'field_config' => 90,
'field_storage_config' => 69,
'file' => 3,
'filter_format' => 7,
'image_style' => 7,
'language_content_settings' => 24,
'node' => 7,
'node_type' => 8,
'search_page' => 3,
'shortcut' => 6,
'shortcut_set' => 2,
'action' => 24,
'menu' => 7,
'taxonomy_term' => 25,
'taxonomy_vocabulary' => 8,
'path_alias' => 8,
'user' => 4,
'user_role' => 4,
'menu_link_content' => 12,
'view' => 14,
'date_format' => 12,
'entity_form_display' => 23,
'entity_form_mode' => 1,
'entity_view_display' => 33,
'entity_view_mode' => 11,
'base_field_override' => 2,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.