function WizardFactoryInterface::createWizard

Same name in other branches
  1. 8.x-3.x src/Wizard/WizardFactoryInterface.php \Drupal\ctools\Wizard\WizardFactoryInterface::createWizard()

Create the wizard object.

Parameters

string $class: A class name implementing FormWizardInterface.

array $parameters: The array of parameters specific to this wizard.

Return value

\Drupal\ctools\Wizard\FormWizardInterface Return the wizard interface.

1 method overrides WizardFactoryInterface::createWizard()
WizardFactory::createWizard in src/Wizard/WizardFactory.php
Create form wizard.

File

src/Wizard/WizardFactoryInterface.php, line 36

Class

WizardFactoryInterface
Provide the WizardFactory.

Namespace

Drupal\ctools\Wizard

Code

public function createWizard($class, array $parameters);