You are here

public function YamlFormController::__construct in YAML Form 8

Constructs a new YamlFormSubmissionController object.

Parameters

\Drupal\yamlform\YamlFormRequestInterface $request_handler: The form request handler.

File

src/Controller/YamlFormController.php, line 33

Class

YamlFormController
Provides route responses for form.

Namespace

Drupal\yamlform\Controller

Code

public function __construct(YamlFormRequestInterface $request_handler) {
  $this->requestHandler = $request_handler;
}