You are here

public function D6NodeTranslation::generateFollowUpMigrations in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/node/src/Plugin/migrate/D6NodeTranslation.php \Drupal\node\Plugin\migrate\D6NodeTranslation::generateFollowUpMigrations()
  2. 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\migrate

Code

public function generateFollowUpMigrations() {
  $this->migrationPluginManager
    ->clearCachedDefinitions();
  return $this->migrationPluginManager
    ->createInstances('d6_entity_reference_translation');
}