function DestinationCategoryTest::getConfigurationClasses

Same name in other branches
  1. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::getConfigurationClasses()
  2. 10 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::getConfigurationClasses()
  3. 11.x core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/DestinationCategoryTest.php \Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate\DestinationCategoryTest::getConfigurationClasses()

Get configuration classes.

Configuration migrations should have a destination plugin that is an instance of one of the following classes.

Return value

array The configuration class names.

1 call to DestinationCategoryTest::getConfigurationClasses()
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 101

Class

DestinationCategoryTest
Tests that all migrations are tagged as either content or configuration.

Namespace

Drupal\Tests\migrate_drupal\Kernel\Plugin\migrate

Code

protected function getConfigurationClasses() {
    return [
        Color::class,
        Config::class,
        EntityConfigBase::class,
        ThemeSettings::class,
        ComponentEntityDisplayBase::class,
        ShortcutSetUsers::class,
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.