class TestMigrationConfigurationTrait

Same name and namespace in other branches
  1. 10 core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php \Drupal\Tests\migrate_drupal\Unit\TestMigrationConfigurationTrait
  2. 11.x core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php \Drupal\Tests\migrate_drupal\Unit\TestMigrationConfigurationTrait

Test class that uses the trait we are testing.

Hierarchy

Expanded class hierarchy of TestMigrationConfigurationTrait

File

core/modules/migrate_drupal/tests/src/Unit/MigrationConfigurationTraitTest.php, line 149

Namespace

Drupal\Tests\migrate_drupal\Unit
View source
class TestMigrationConfigurationTrait {
  use MigrationConfigurationTrait;

}

Members

Title Sort descending Modifiers Object type Summary
MigrationConfigurationTrait::$configFactory protected property The config factory service.
MigrationConfigurationTrait::$followUpMigrationTags protected property The follow-up migration tags.
MigrationConfigurationTrait::$migrationPluginManager protected property The migration plugin manager service.
MigrationConfigurationTrait::$state protected property The state service.
MigrationConfigurationTrait::createDatabaseStateSettings protected function Creates the necessary state entries for SqlBase::getDatabase() to work.
MigrationConfigurationTrait::getConfigFactory protected function Gets the config factory service.
MigrationConfigurationTrait::getConnection protected function Gets the database connection for the source Drupal database.
MigrationConfigurationTrait::getFollowUpMigrationTags protected function Returns the follow-up migration tags.
MigrationConfigurationTrait::getLegacyDrupalVersion public static function Determines what version of Drupal the source database contains.
MigrationConfigurationTrait::getMigrationPluginManager protected function Gets the migration plugin manager service.
MigrationConfigurationTrait::getMigrations protected function Gets the migrations for import.
MigrationConfigurationTrait::getState protected function Gets the state service.
MigrationConfigurationTrait::getSystemData protected function Gets the system data from the system table of the source Drupal database.

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