You are here

public function D7EckType::generateFollowUpMigrations in Entity Construction Kit (ECK) 8

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

src/Plugin/migrate/D7EckType.php, line 16

Class

D7EckType
Migration plugin for the Drupal 7 eck types.

Namespace

Drupal\eck\Plugin\migrate

Code

public function generateFollowUpMigrations() {
  $this->migrationPluginManager
    ->clearCachedDefinitions();
  return $this->migrationPluginManager
    ->createInstances([
    'd7_eck',
    'd7_eck_translation',
  ]);
}