You are here

public function YamlFormMessageManagerInterface::setYamlFormSubmission in YAML Form 8

Set the form submission used for token replacement.

Parameters

\Drupal\yamlform\YamlFormSubmissionInterface $yamlform_submission: A form submission.

1 method overrides YamlFormMessageManagerInterface::setYamlFormSubmission()
YamlFormMessageManager::setYamlFormSubmission in src/YamlFormMessageManager.php
Set the form submission used for token replacement.

File

src/YamlFormMessageManagerInterface.php, line 133

Class

YamlFormMessageManagerInterface
Provides an interface for managing a form's custom, default, and hard-coded messages.

Namespace

Drupal\yamlform

Code

public function setYamlFormSubmission(YamlFormSubmissionInterface $yamlform_submission = NULL);