function Upgrade7Test::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 Upgrade7Test::getEntityCounts()
- Upgrade7Test::getEntityCountsIncremental in core/
modules/ contact/ tests/ src/ Functional/ migrate_drupal_ui/ d7/ Upgrade7Test.php - Gets expected number of entities per entity after incremental migration.
File
-
core/
modules/ contact/ tests/ src/ Functional/ migrate_drupal_ui/ d7/ Upgrade7Test.php, line 63
Class
- Upgrade7Test
- Tests Drupal 7 upgrade using the migrate UI.
Namespace
Drupal\Tests\contact\Functional\migrate_drupal_ui\d7Code
protected function getEntityCounts() : array {
return [
'action' => 24,
'base_field_override' => 2,
'block' => 25,
'block_content' => 1,
'block_content_type' => 1,
'comment' => 1,
'comment_type' => 6,
'configurable_language' => 5,
'contact_form' => 2,
'contact_message' => 0,
'date_format' => 12,
'editor' => 2,
'entity_form_display' => 13,
'entity_form_mode' => 1,
'entity_view_display' => 20,
'entity_view_mode' => 11,
'field_config' => 31,
'field_storage_config' => 22,
'file' => 1,
'filter_format' => 7,
'image_style' => 7,
'language_content_settings' => 14,
'menu' => 5,
'menu_link_content' => 2,
'node' => 1,
'node_type' => 5,
'path_alias' => 1,
'search_page' => 3,
'shortcut' => 6,
'shortcut_set' => 2,
'taxonomy_term' => 2,
'taxonomy_vocabulary' => 2,
'user' => 3,
'user_role' => 4,
'view' => 14,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.