protected function NodeReference::entityId in Drupal 9
Same name in this branch
- 9 core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference::entityId()
- 9 core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d7\NodeReference::entityId()
Same name and namespace in other branches
- 10 core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference::entityId()
Gets the name of the field property which holds the entity ID.
Return value
string The entity id.
Overrides ReferenceBase::entityId
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ field/ d6/ NodeReference.php, line 41
Class
- NodeReference
- MigrateField Plugin for Drupal 6 node reference fields.
Namespace
Drupal\migrate_drupal\Plugin\migrate\field\d6Code
protected function entityId() {
return 'nid';
}