function UserReference::getEntityTypeMigrationId

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

Class

UserReference
MigrateField Plugin for Drupal 6 user reference fields.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field\d6

Code

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

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