You are here

public function MigrateUuidNodeHandler::fields in Migrate Extras 6.2

Make the destination field visible.

File

./uuid.inc, line 43
Support for Universally Unique Identifier (uuid) module.

Class

MigrateUuidNodeHandler
Node specific UUID Handler. This needs to be separate since nodes have the revision_uuid field as well.

Code

public function fields() {
  if (module_exists('uuid')) {
    return array(
      'uuid' => t('Universally Unique IDentifier'),
      'revision_uuid' => t('Universally Unique IDentifier (revision)'),
    );
  }
  else {
    return array();
  }
}