function Upgrade6Test::getEntityCounts
Gets the expected number of entities per entity type after migration.
Return value
int[] An array of expected counts keyed by entity type ID.
Overrides MigrateUpgradeTestBase::getEntityCounts
1 call to Upgrade6Test::getEntityCounts()
- Upgrade6Test::getEntityCountsIncremental in core/
modules/ contact/ tests/ src/ Functional/ migrate_drupal_ui/ d6/ Upgrade6Test.php - Gets expected number of entities per entity after incremental migration.
File
-
core/
modules/ contact/ tests/ src/ Functional/ migrate_drupal_ui/ d6/ Upgrade6Test.php, line 62
Class
- Upgrade6Test
- Tests Drupal 6 upgrade using the migrate UI.
Namespace
Drupal\Tests\contact\Functional\migrate_drupal_ui\d6Code
protected function getEntityCounts() : array {
return [
'action' => 30,
'base_field_override' => 6,
'block' => 31,
'block_content' => 1,
'block_content_type' => 1,
'comment' => 1,
'comment_type' => 3,
'configurable_language' => 5,
'contact_form' => 4,
'contact_message' => 0,
'date_format' => 12,
'editor' => 2,
'entity_form_display' => 7,
'entity_form_mode' => 1,
'entity_view_display' => 11,
'entity_view_mode' => 11,
'field_config' => 13,
'field_storage_config' => 10,
'file' => 1,
'filter_format' => 7,
'image_style' => 4,
'language_content_settings' => 4,
'menu' => 8,
'menu_link_content' => 6,
'node' => 1,
'node_type' => 2,
'path_alias' => 0,
'search_page' => 3,
'shortcut' => 2,
'shortcut_set' => 1,
'taxonomy_term' => 1,
'taxonomy_vocabulary' => 1,
'user' => 3,
'user_role' => 7,
'view' => 14,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.