You are here

public function FormWizardBase::__construct in Chaos Tool Suite (ctools) 8.3

Parameters

\Drupal\Core\TempStore\SharedTempStoreFactory $tempstore: Tempstore Factory for keeping track of values in each step of the wizard.

\Drupal\Core\Form\FormBuilderInterface $builder: The Form Builder.

\Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver: The class resolver.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

$tempstore_id: The shared temp store factory collection name.

null $machine_name: The SharedTempStore key for our current wizard values.

null $step: The current active step of the wizard.

1 call to FormWizardBase::__construct()
EntityFormWizardBase::__construct in src/Wizard/EntityFormWizardBase.php
1 method overrides FormWizardBase::__construct()
EntityFormWizardBase::__construct in src/Wizard/EntityFormWizardBase.php

File

src/Wizard/FormWizardBase.php, line 91

Class

FormWizardBase
The base class for all form wizard.

Namespace

Drupal\ctools\Wizard

Code

public function __construct(SharedTempStoreFactory $tempstore, FormBuilderInterface $builder, ClassResolverInterface $class_resolver, EventDispatcherInterface $event_dispatcher, RouteMatchInterface $route_match, $tempstore_id, $machine_name = NULL, $step = NULL) {
  $this->tempstore = $tempstore;
  $this->builder = $builder;
  $this->classResolver = $class_resolver;
  $this->dispatcher = $event_dispatcher;
  $this->routeMatch = $route_match;
  $this->tempstore_id = $tempstore_id;
  $this->machine_name = $machine_name;
  $this->step = $step;
}