You are here

trait MigrationCreationTrait in Drupal 8

Hierarchy

Deprecated

in drupal:8.1.0 and is removed from drupal:9.0.0. Use \Drupal\migrate_drupal\MigrationConfigurationTrait instead.

See also

https://www.drupal.org/node/2873794

File

core/modules/migrate_drupal/src/MigrationCreationTrait.php, line 11

Namespace

Drupal\migrate_drupal
View source
trait MigrationCreationTrait {
  use MigrationConfigurationTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
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.