public function MigrateUIStep::__construct in Migrate 7.2
Class constructor.
Parameters
$name: The machine name of the wizard step.
$form_method: A callable for the form array for this step. The validation method is formed from the method name with the suffix 'Validate' added, regardless of which object it is on.
$context = NULL: Contextual data needed by the form for this step.
File
- migrate_ui/
migrate_ui.wizard.inc, line 634 - Migration wizard framework.
Class
- MigrateUIStep
- Class representing one step of a wizard.
Code
public function __construct($name, $form_method, $context = NULL) {
$this->name = $name;
$this->formMethod = $form_method;
$this->context = $context;
}