NodeReference.php in Drupal 9
File
core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php
View source
<?php
namespace Drupal\migrate_drupal\Plugin\migrate\field\d6;
use Drupal\migrate_drupal\Plugin\migrate\field\ReferenceBase;
class NodeReference extends ReferenceBase {
protected $nodeTypeMigration = 'd6_node_type';
protected function getEntityTypeMigrationId() {
return $this->nodeTypeMigration;
}
protected function entityId() {
return 'nid';
}
}
Classes
Name |
Description |
NodeReference |
MigrateField Plugin for Drupal 6 node reference fields. |