You are here

public function MigrateDestinationTermMachineName::fields in Taxonomy Machine Name 7

Returns the fields that are exposed by this migration destination.

The only additional field is "Parent (by machine name)".

Parameters

Migration $migration: Migration instance.

Return value

array Destination fields.

Overrides MigrateDestinationTerm::fields

File

./taxonomy_machine_name.migrate.inc, line 113
Taxonomy Machine Name Migrate Module File.

Class

MigrateDestinationTermMachineName
Class MigrateDestinationTermMachineName

Code

public function fields($migration = NULL) {
  $fields = parent::fields();
  $fields['parent_machine_name'] = t('Parent (by machine name).');
  return $fields;
}