You are here

public function YamlFormSubmissionsDeleteFormBase::__construct in YAML Form 8

Constructs a new YamlFormResultsDeleteBaseForm object.

Parameters

\Drupal\yamlform\YamlFormSubmissionStorageInterface $yamlform_submission_storage: The form submission storage.

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

File

src/Form/YamlFormSubmissionsDeleteFormBase.php, line 61

Class

YamlFormSubmissionsDeleteFormBase
Base form for deleting form submission.

Namespace

Drupal\yamlform\Form

Code

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