You are here

protected function NodeReference::getEntityTypeMigrationId in Drupal 10

Same name in this branch
  1. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference::getEntityTypeMigrationId()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d7\NodeReference::getEntityTypeMigrationId()
Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d7\NodeReference::getEntityTypeMigrationId()

Gets the plugin ID for the reference type migration.

The reference type migration will be added as a required dependency.

Return value

string The plugin id.

Overrides ReferenceBase::getEntityTypeMigrationId

File

core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php, line 32

Class

NodeReference
MigrateField plugin for Drupal 7 node_reference fields.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field\d7

Code

protected function getEntityTypeMigrationId() {
  return $this->nodeTypeMigration;
}