function UserReference::entityId

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()
Same name 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()
  2. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/d7/UserReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d7\UserReference::entityId()
  3. 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/d6/UserReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d6\UserReference::entityId()
  4. 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/d7/UserReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d7\UserReference::entityId()

Overrides ReferenceBase::entityId

File

core/modules/migrate_drupal/src/Plugin/migrate/field/d7/UserReference.php, line 40

Class

UserReference
MigrateField plugin for Drupal 7 user_reference fields.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field\d7

Code

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

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