You are here

protected function DestinationCategoryTestTrait::getContentClasses in Commerce Migrate 8.2

Same name and namespace in other branches
  1. 3.1.x tests/src/Kernel/Plugin/migrate/DestinationCategoryTestTrait.php \Drupal\Tests\commerce_migrate\Kernel\Plugin\migrate\DestinationCategoryTestTrait::getContentClasses()
  2. 3.0.x tests/src/Kernel/Plugin/migrate/DestinationCategoryTestTrait.php \Drupal\Tests\commerce_migrate\Kernel\Plugin\migrate\DestinationCategoryTestTrait::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 DestinationCategoryTestTrait::getContentClasses()
DestinationCategoryTestTrait::assertCategories in tests/src/Kernel/Plugin/migrate/DestinationCategoryTestTrait.php
Asserts that all migrations are tagged as either Configuration or Content.

File

tests/src/Kernel/Plugin/migrate/DestinationCategoryTestTrait.php, line 76

Class

DestinationCategoryTestTrait
Class DestinationCategoryTestTrait.

Namespace

Drupal\Tests\commerce_migrate\Kernel\Plugin\migrate

Code

protected function getContentClasses() {
  return [
    EntityContentBase::class,
    UrlAlias::class,
    BlockedIP::class,
    NodeCounter::class,
    UserData::class,
  ];
}