public function D6NodeTranslation::generateFollowUpMigrations in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/migrate/D6NodeTranslation.php \Drupal\node\Plugin\migrate\D6NodeTranslation::generateFollowUpMigrations()
- 10 core/modules/node/src/Plugin/migrate/D6NodeTranslation.php \Drupal\node\Plugin\migrate\D6NodeTranslation::generateFollowUpMigrations()
Generates follow-up migrations.
When the migration implementing this interface has been successfully executed, this method will be used to generate the follow-up migrations which depends on the now migrated data.
Return value
\Drupal\migrate\Plugin\MigrationInterface[] The follow-up migrations.
Overrides MigrationWithFollowUpInterface::generateFollowUpMigrations
File
- core/
modules/ node/ src/ Plugin/ migrate/ D6NodeTranslation.php, line 16
Class
- D6NodeTranslation
- Migration plugin for the Drupal 6 node translations.
Namespace
Drupal\node\Plugin\migrateCode
public function generateFollowUpMigrations() {
$this->migrationPluginManager
->clearCachedDefinitions();
return $this->migrationPluginManager
->createInstances('d6_entity_reference_translation');
}