function NodeRevision::getIds

Same name in this branch
  1. 9 core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php \Drupal\node\Plugin\migrate\source\d6\NodeRevision::getIds()
Same name in other branches
  1. 8.9.x core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php \Drupal\node\Plugin\migrate\source\d6\NodeRevision::getIds()
  2. 8.9.x core/modules/node/src/Plugin/migrate/source/d7/NodeRevision.php \Drupal\node\Plugin\migrate\source\d7\NodeRevision::getIds()
  3. 10 core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php \Drupal\node\Plugin\migrate\source\d6\NodeRevision::getIds()
  4. 10 core/modules/node/src/Plugin/migrate/source/d7/NodeRevision.php \Drupal\node\Plugin\migrate\source\d7\NodeRevision::getIds()
  5. 11.x core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php \Drupal\node\Plugin\migrate\source\d6\NodeRevision::getIds()
  6. 11.x core/modules/node/src/Plugin/migrate/source/d7/NodeRevision.php \Drupal\node\Plugin\migrate\source\d7\NodeRevision::getIds()

Overrides Node::getIds

1 method overrides NodeRevision::getIds()
NodeComplete::getIds in core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php
Defines the source fields uniquely identifying a source row.

File

core/modules/node/src/Plugin/migrate/source/d7/NodeRevision.php, line 40

Class

NodeRevision
Drupal 7 node revision source from database.

Namespace

Drupal\node\Plugin\migrate\source\d7

Code

public function getIds() {
    $ids['vid']['type'] = 'integer';
    $ids['vid']['alias'] = 'nr';
    return $ids;
}

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