function UpgradeTest::getEntityCounts
Same name in this branch
- 11.x core/modules/statistics/tests/src/Functional/migrate_drupal/d6/UpgradeTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d6\UpgradeTest::getEntityCounts()
Same name in other branches
- 9 core/modules/aggregator/tests/src/Functional/migrate_drupal_ui/d6/UpgradeTest.php \Drupal\Tests\aggregator\Functional\migrate_drupal_ui\d6\UpgradeTest::getEntityCounts()
- 9 core/modules/aggregator/tests/src/Functional/migrate_drupal_ui/d7/UpgradeTest.php \Drupal\Tests\aggregator\Functional\migrate_drupal_ui\d7\UpgradeTest::getEntityCounts()
- 10 core/modules/statistics/tests/src/Functional/migrate_drupal/d6/UpgradeTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d6\UpgradeTest::getEntityCounts()
- 10 core/modules/statistics/tests/src/Functional/migrate_drupal/d7/UpgradeTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d7\UpgradeTest::getEntityCounts()
Overrides MigrateUpgradeTestBase::getEntityCounts
1 call to UpgradeTest::getEntityCounts()
- UpgradeTest::testUpgrade in core/
modules/ statistics/ tests/ src/ Functional/ migrate_drupal/ d7/ UpgradeTest.php - Executes all steps of migrations upgrade.
File
-
core/
modules/ statistics/ tests/ src/ Functional/ migrate_drupal/ d7/ UpgradeTest.php, line 69
Class
- UpgradeTest
- Tests Drupal 7 upgrade using the migrate UI.
Namespace
Drupal\Tests\statistics\Functional\migrate_drupal\d7Code
protected function getEntityCounts() {
return [
'action' => 27,
'base_field_override' => 3,
'block' => 27,
'block_content' => 1,
'block_content_type' => 1,
'comment' => 4,
'comment_type' => 9,
'configurable_language' => 5,
'contact_form' => 2,
'contact_message' => 0,
'date_format' => 12,
'editor' => 2,
'entity_form_display' => 19,
'entity_form_mode' => 1,
'entity_view_display' => 28,
'entity_view_mode' => 12,
'field_config' => 33,
'field_storage_config' => 19,
'file' => 1,
'filter_format' => 7,
'image_style' => 7,
'language_content_settings' => 16,
'menu' => 5,
'menu_link_content' => 2,
'node' => 7,
'node_type' => 8,
'path_alias' => 0,
'search_page' => 3,
'shortcut' => 2,
'shortcut_set' => 1,
'taxonomy_term' => 15,
'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.