function WizardEntityFormController::__construct
Same name in other branches
- 8.x-3.x src/Controller/WizardEntityFormController.php \Drupal\ctools\Controller\WizardEntityFormController::__construct()
Parameters
\Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface $argument_resolver: The argument resolver.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
\Drupal\ctools\Wizard\WizardFactoryInterface $wizard_factory: The wizard factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
Overrides WizardFormController::__construct
File
-
src/
Controller/ WizardEntityFormController.php, line 33
Class
- WizardEntityFormController
- Wrapping controller for wizard forms that serve as the main page body.
Namespace
Drupal\ctools\ControllerCode
public function __construct(ArgumentResolverInterface $argument_resolver, FormBuilderInterface $form_builder, WizardFactoryInterface $wizard_factory, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct($argument_resolver, $form_builder, $wizard_factory);
$this->entityTypeManager = $entity_type_manager;
}