You are here

function migrate_map_table_name in Migrate 6

Determine the name of the map table for this content set

Parameters

$mcsid: Unique identifier of the content set

Return value

The name of the map table

17 calls to migrate_map_table_name()
drush_migrate_status in ./migrate.drush.inc
A simplified version of the Process (dashboard) page
MigrateCommentTest::testComment in tests/modules/core/migrate_comment.test
Test comment migration
MigrateNodeTest::testNodeProcessing in tests/modules/core/migrate_node.test
Test UI for processing
MigrateUnitTest::testCRUD in tests/migrate_api.test
Test API for managing content sets
MigrateUserTest::testUserProcessing in tests/modules/core/migrate_user.test
Test user migration

... See full list

File

./migrate.module, line 1341
This module provides tools at "administer >> content >> migrate" for analyzing data from various sources and importing them into Drupal tables.

Code

function migrate_map_table_name($mcsid) {
  $machine_name = db_result(db_query("SELECT machine_name FROM {migrate_content_sets}\n                            WHERE mcsid=%d", $mcsid));
  return drupal_strtolower("migrate_map_{$machine_name}");
}