You are here

public static function DefaultWizard::getParameters in Flexiform 8

Return an array of parameters required to construct this wizard.

Return value

array

Overrides FormWizardBase::getParameters

File

contrib/wizard/src/Wizard/DefaultWizard.php, line 85

Class

DefaultWizard
Provides a default form wizard.

Namespace

Drupal\flexiform_wizard\Wizard

Code

public static function getParameters() {
  return [
    'tempstore' => \Drupal::service('user.private_tempstore'),
    'builder' => \Drupal::service('form_builder'),
    'class_resolver' => \Drupal::service('class_resolver'),
    'event_dispatcher' => \Drupal::service('event_dispatcher'),
  ];
}