function WizardFactory::__construct

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

The construct method.

Parameters

\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.

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

\Drupal\Core\Render\RendererInterface $renderer: The object renderer.

File

src/Wizard/WizardFactory.php, line 46

Class

WizardFactory
The wizard factory.

Namespace

Drupal\ctools\Wizard

Code

public function __construct(FormBuilderInterface $form_builder, EventDispatcherInterface $event_dispatcher, RendererInterface $renderer) {
    $this->builder = $form_builder;
    $this->dispatcher = $event_dispatcher;
    $this->renderer = $renderer;
}