public function WebformMessageManagerInterface::setWebformSubmission in Webform 6.x
Same name and namespace in other branches
- 8.5 src/WebformMessageManagerInterface.php \Drupal\webform\WebformMessageManagerInterface::setWebformSubmission()
Set the webform submission used for token replacement.
Webform and source entity will also be set using the webform submission.
Parameters
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
1 method overrides WebformMessageManagerInterface::setWebformSubmission()
- WebformMessageManager::setWebformSubmission in src/
WebformMessageManager.php - Set the webform submission used for token replacement.
File
- src/
WebformMessageManagerInterface.php, line 180
Class
- WebformMessageManagerInterface
- Provides an interface for managing a webform's custom, default, and hard-coded messages.
Namespace
Drupal\webformCode
public function setWebformSubmission(WebformSubmissionInterface $webform_submission = NULL);