You are here

public function MigrateDestinationNodeRevision::fields in Migrate 7.2

Returns additional fields on top of node destinations.

Parameters

string $migration: Active migration

Return value

array Fields.

Overrides MigrateDestinationNode::fields

File

plugins/destinations/node.inc, line 381
Support for node destinations.

Class

MigrateDestinationNodeRevision
Allows you to import revisions.

Code

public function fields($migration = NULL) {
  $fields = parent::fields($migration);
  $fields['vid'] = t('Node: <a href="@doc">Revision (vid)</a>', array(
    '@doc' => 'http://drupal.org/node/1298724',
  ));
  return $fields;
}