protected function DestinationCategoryTest::getContentClasses in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::getContentClasses()
- 9 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::getContentClasses()
Get content classes.
Content migrations should have a destination plugin that is an instance of one of the following classes.
Return value
array The content class names.
1 call to DestinationCategoryTest::getContentClasses()
- DestinationCategoryTest::assertCategories in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ DestinationCategoryTest.php - Asserts that all migrations are tagged as either Configuration or Content.
File
- core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ DestinationCategoryTest.php, line 119
Class
- DestinationCategoryTest
- Tests that all migrations are tagged as either content or configuration.
Namespace
Drupal\Tests\migrate_drupal\Kernel\Plugin\migrateCode
protected function getContentClasses() {
return [
EntityContentBase::class,
BlockedIp::class,
NodeCounter::class,
UserData::class,
];
}