You are here

protected function UserReference::entityId in Drupal 10

Same name in this branch
  1. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/d6/UserReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d6\UserReference::entityId()
  2. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/d7/UserReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d7\UserReference::entityId()
Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/d6/UserReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d6\UserReference::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/UserReference.php, line 42

Class

UserReference
MigrateField Plugin for Drupal 6 user reference fields.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field\d6

Code

protected function entityId() {
  return 'uid';
}