function UpgradeTest::getEntityCounts
Same name in this branch
- 9 core/modules/aggregator/tests/src/Functional/migrate_drupal_ui/d6/UpgradeTest.php \Drupal\Tests\aggregator\Functional\migrate_drupal_ui\d6\UpgradeTest::getEntityCounts()
Same name in other branches
- 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()
- 11.x core/modules/statistics/tests/src/Functional/migrate_drupal/d6/UpgradeTest.php \Drupal\Tests\statistics\Functional\migrate_drupal\d6\UpgradeTest::getEntityCounts()
- 11.x 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/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d7/ UpgradeTest.php - Executes an upgrade.
File
-
core/
modules/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d7/ UpgradeTest.php, line 61
Class
- UpgradeTest
- Tests Drupal 7 upgrade using the migrate UI.
Namespace
Drupal\Tests\aggregator\Functional\migrate_drupal_ui\d7Code
protected function getEntityCounts() {
return [
'aggregator_item' => 10,
'aggregator_feed' => 1,
'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' => 91,
'field_storage_config' => 70,
'file' => 3,
'filter_format' => 7,
'image_style' => 7,
'language_content_settings' => 24,
'node' => 7,
'node_type' => 8,
'search_page' => 2,
'shortcut' => 6,
'shortcut_set' => 2,
'action' => 27,
'menu' => 7,
'taxonomy_term' => 25,
'taxonomy_vocabulary' => 8,
'path_alias' => 8,
'tour' => 6,
'user' => 4,
'user_role' => 4,
'menu_link_content' => 11,
'view' => 16,
'date_format' => 12,
'entity_form_display' => 24,
'entity_form_mode' => 1,
'entity_view_display' => 37,
'entity_view_mode' => 14,
'base_field_override' => 4,
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.