public function WebformEntityInjectionInterface::setWebformSubmission in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Plugin/WebformEntityInjectionInterface.php \Drupal\webform\Plugin\WebformEntityInjectionInterface::setWebformSubmission()
Set the webform submission that this handler is handling.
Parameters
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
Return value
$this This webform handler.
File
- src/
Plugin/ WebformEntityInjectionInterface.php, line 42
Class
- WebformEntityInjectionInterface
- Defines the interface for webform entity injection interface.
Namespace
Drupal\webform\PluginCode
public function setWebformSubmission(WebformSubmissionInterface $webform_submission = NULL);