function EntityFormWizardBase::__construct

Same name in other branches
  1. 4.0.x src/Wizard/EntityFormWizardBase.php \Drupal\ctools\Wizard\EntityFormWizardBase::__construct()

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 46

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, RouteMatchInterface $route_match, RendererInterface $renderer, $tempstore_id, EntityTypeManagerInterface $entity_type_manager, $machine_name = NULL, $step = NULL) {
    parent::__construct($tempstore, $builder, $class_resolver, $event_dispatcher, $route_match, $renderer, $tempstore_id, $machine_name, $step);
    $this->entityTypeManager = $entity_type_manager;
}