You are here

public function EntityFormWizardBase::__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.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

$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.

Overrides FormWizardBase::__construct

File

src/Wizard/EntityFormWizardBase.php, line 45

Class

EntityFormWizardBase
The base class for all entity form wizards.

Namespace

Drupal\ctools\Wizard

Code

public function __construct(SharedTempStoreFactory $tempstore, FormBuilderInterface $builder, ClassResolverInterface $class_resolver, EventDispatcherInterface $event_dispatcher, EntityTypeManagerInterface $entity_type_manager, RouteMatchInterface $route_match, $tempstore_id, $machine_name = NULL, $step = NULL) {
  $this->entityTypeManager = $entity_type_manager;
  parent::__construct($tempstore, $builder, $class_resolver, $event_dispatcher, $route_match, $tempstore_id, $machine_name, $step);
}