function FormWizardBase::getParameters

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

Overrides FormWizardInterface::getParameters

1 method overrides FormWizardBase::getParameters()
EntityFormWizardBase::getParameters in src/Wizard/EntityFormWizardBase.php
Return an array of parameters required to construct this wizard.

File

src/Wizard/FormWizardBase.php, line 115

Class

FormWizardBase
The base class for all form wizard.

Namespace

Drupal\ctools\Wizard

Code

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