You are here

public function FormModeManagerConverter::__construct in Form mode manager 8

Constructs a new FormModeManagerConverter.

Parameters

\Drupal\form_mode_manager\FormModeManagerInterface $form_mode_manager: The form mode manager.

File

src/ParamConverter/FormModeManagerConverter.php, line 31

Class

FormModeManagerConverter
Converter for form_mode_manager routes.

Namespace

Drupal\form_mode_manager\ParamConverter

Code

public function __construct(FormModeManagerInterface $form_mode_manager) {
  $this->formModeManager = $form_mode_manager;
}