You are here

public function NodeComplete::getIds in Drupal 10

Same name in this branch
  1. 10 core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php \Drupal\node\Plugin\migrate\source\d6\NodeComplete::getIds()
  2. 10 core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php \Drupal\node\Plugin\migrate\source\d7\NodeComplete::getIds()
Same name and namespace in other branches
  1. 8 core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php \Drupal\node\Plugin\migrate\source\d7\NodeComplete::getIds()
  2. 9 core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php \Drupal\node\Plugin\migrate\source\d7\NodeComplete::getIds()

Overrides NodeRevision::getIds

File

core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php, line 81

Class

NodeComplete
Drupal 7 all node revisions source, including translation revisions.

Namespace

Drupal\node\Plugin\migrate\source\d7

Code

public function getIds() {
  return [
    'nid' => [
      'type' => 'integer',
      'alias' => 'n',
    ],
    'vid' => [
      'type' => 'integer',
      'alias' => 'nr',
    ],
    'language' => [
      'type' => 'string',
      'alias' => 'n',
    ],
  ];
}