You are here

public function MigrateUIWizardExtender::addMigrationAlter in Migrate 7.2

Alter the arguments to a migration before it is registered, or potentially reject it.

Parameters

string $machine_name: Machine name for the migration class.

string $class_name: Name of the Migration class to instantiate.

array $arguments: Further information configuring the migration.

MigrateUIWizard $wizard: The wizard class performing the registration.

Return value

bool Return FALSE to prevent registration of this migration.

File

migrate_ui/migrate_ui.wizard.inc, line 676
Migration wizard framework.

Class

MigrateUIWizardExtender

Code

public function addMigrationAlter($machine_name, $class_name, &$arguments, $wizard) {
  return TRUE;
}