function NodeReference::entityId

Same name in this branch
  1. 10 core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d7\NodeReference::entityId()
Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference::entityId()
  2. 9 core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d7\NodeReference::entityId()
  3. 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference::entityId()
  4. 11.x core/modules/migrate_drupal/src/Plugin/migrate/field/d7/NodeReference.php \Drupal\migrate_drupal\Plugin\migrate\field\d7\NodeReference::entityId()

Overrides ReferenceBase::entityId

File

core/modules/migrate_drupal/src/Plugin/migrate/field/d6/NodeReference.php, line 43

Class

NodeReference
MigrateField Plugin for Drupal 6 node reference fields.

Namespace

Drupal\migrate_drupal\Plugin\migrate\field\d6

Code

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

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