function NodeComplete::getIds

Same name in this branch
  1. 8.9.x core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php \Drupal\node\Plugin\migrate\source\d7\NodeComplete::getIds()
Same name in other branches
  1. 9 core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php \Drupal\node\Plugin\migrate\source\d6\NodeComplete::getIds()
  2. 9 core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php \Drupal\node\Plugin\migrate\source\d7\NodeComplete::getIds()
  3. 10 core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php \Drupal\node\Plugin\migrate\source\d6\NodeComplete::getIds()
  4. 10 core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php \Drupal\node\Plugin\migrate\source\d7\NodeComplete::getIds()
  5. 11.x core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php \Drupal\node\Plugin\migrate\source\d6\NodeComplete::getIds()
  6. 11.x 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/d6/NodeComplete.php, line 32

Class

NodeComplete
Gets all node revisions from the source, including translation revisions.

Namespace

Drupal\node\Plugin\migrate\source\d6

Code

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

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