public function D7NodeTranslation::generateFollowUpMigrations in Drupal 8
Same name and namespace in other branches
- 9 core/modules/node/src/Plugin/migrate/D7NodeTranslation.php \Drupal\node\Plugin\migrate\D7NodeTranslation::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/ D7NodeTranslation.php, line 16
Class
- D7NodeTranslation
- Migration plugin for the Drupal 7 node translations.
Namespace
Drupal\node\Plugin\migrateCode
public function generateFollowUpMigrations() {
$this->migrationPluginManager
->clearCachedDefinitions();
return $this->migrationPluginManager
->createInstances('d7_entity_reference_translation');
}