You are here

function relation_migrate_migrate_api in Relation 7

Same name and namespace in other branches
  1. 8.2 relation_migrate/relation_migrate.module \relation_migrate_migrate_api()
  2. 8 relation_migrate/relation_migrate.module \relation_migrate_migrate_api()

Implements hook_migrate_api().

File

relation_migrate/relation_migrate.module, line 148
Migrations between *reference fields and relations.

Code

function relation_migrate_migrate_api() {
  $api = array(
    'api' => 2,
    'migrations' => array(
      'RelationMigrateEntityReference' => array(
        'class_name' => 'RelationMigrateEntityReference',
      ),
      'RelationMigrateNodeReference' => array(
        'class_name' => 'RelationMigrateNodeReference',
      ),
      'RelationMigrateUserReference' => array(
        'class_name' => 'RelationMigrateUserReference',
      ),
      'RelationMigrateTermReference' => array(
        'class_name' => 'RelationMigrateTermReference',
      ),
    ),
  );
  return $api;
}