public function YamlFormTestController::__construct in YAML Form 8
Constructs a new YamlFormTestController object.
Parameters
\Drupal\yamlform\YamlFormRequestInterface $request_handler: The form request handler.
\Drupal\yamlform\YamlFormSubmissionGenerateInterface $submission_generate: The form submission generation service.
File
- src/
Controller/ YamlFormTestController.php, line 40
Class
- YamlFormTestController
- Provides route responses for form testing.
Namespace
Drupal\yamlform\ControllerCode
public function __construct(YamlFormRequestInterface $request_handler, YamlFormSubmissionGenerateInterface $submission_generate) {
$this->requestHandler = $request_handler;
$this->generate = $submission_generate;
}