You are here

public function MigrateUIWizard::addExtender in Migrate 7.2

Add a wizard extender.

This initializes the new extender and adds it to our internal list.

Parameters

$extender_class: The name of an extender class.

File

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

Class

MigrateUIWizard
The base class for migration wizards. Extend this class to implement a wizard UI for importing into Drupal from a given source format (Drupal, WordPress, etc.).

Code

public function addExtender($extender_class) {
  $steps = $this
    ->getSteps();
  $extender = new $extender_class($this, $steps);
  $this->extenders[$extender_class] = $extender;
}