You are here

protected function MigrationBase::generateMachineName in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 includes/base.inc \MigrationBase::generateMachineName()

The migration machine name is stored in the arguments.

Return value

string

1 method overrides MigrationBase::generateMachineName()
GameBaseball::generateMachineName in migrate_example_baseball/migrate_example_baseball.migrate.inc
Construct the machine name from the source file name.

File

includes/base.inc, line 580
Defines the base class for migration processes.

Class

MigrationBase
The base class for all objects representing distinct steps in a migration process. Most commonly these will be Migration objects which actually import data from a source into a Drupal destination, but by deriving classes directly from MigrationBase…

Code

protected function generateMachineName() {
  return $this->arguments['machine_name'];
}