D7NodeTranslation.php

Same filename in other branches
  1. 9 core/modules/node/src/Plugin/migrate/D7NodeTranslation.php
  2. 8.9.x core/modules/node/src/Plugin/migrate/D7NodeTranslation.php
  3. 11.x core/modules/node/src/Plugin/migrate/D7NodeTranslation.php

Namespace

Drupal\node\Plugin\migrate

File

core/modules/node/src/Plugin/migrate/D7NodeTranslation.php

View source
<?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');
    }

}

Classes

Title Deprecated Summary
D7NodeTranslation Migration plugin for the Drupal 7 node translations.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.