Mercurial > hg > isophonics-drupal-site
diff core/modules/node/src/Plugin/migrate/D7NodeTranslation.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/node/src/Plugin/migrate/D7NodeTranslation.php Tue Jul 10 15:07:59 2018 +0100 @@ -0,0 +1,21 @@ +<?php + +namespace Drupal\node\Plugin\migrate; + +use Drupal\migrate\Plugin\Migration; +use Drupal\migrate_drupal\Plugin\MigrationWithFollowUpInterface; + +/** + * Migration plugin for the Drupal 7 node translations. + */ +class D7NodeTranslation extends Migration implements MigrationWithFollowUpInterface { + + /** + * {@inheritdoc} + */ + public function generateFollowUpMigrations() { + $this->migrationPluginManager->clearCachedDefinitions(); + return $this->migrationPluginManager->createInstances('d7_entity_reference_translation'); + } + +}