You are here

public function MigrationDataImport::generateMachineName in CRM Core 7

Generate machine name. Data Import task and id with prefix.

Overrides MigrationBase::generateMachineName

2 calls to MigrationDataImport::generateMachineName()
MigrationDataImport::prepare in modules/crm_core_data_import/includes/controllers/MigrationDataImport.inc
Prepare entity before saving.
MigrationDataImport::prepareRow in modules/crm_core_data_import/includes/controllers/MigrationDataImport.inc
This method is called from the source plugin upon first pulling the raw data from the source.

File

modules/crm_core_data_import/includes/controllers/MigrationDataImport.inc, line 234
Handler for migration process.

Class

MigrationDataImport
@file Handler for migration process.

Code

public function generateMachineName($class_name = NULL) {
  return _crm_core_data_import_migration_machine_name($this->arguments['importer']->id, $this->arguments['entity_type'], $this->arguments['entity_bundle'], $this->arguments['delta']);
}