You are here

public function WebformHandlerInterface::setWebformSubmission in Webform 8.5

Set the webform submission that this handler is handling.

@todo Webform 8.x-6.x: Replace with WebformEntityInjectionInterface.

Parameters

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

Return value

$this This webform handler.

1 method overrides WebformHandlerInterface::setWebformSubmission()
WebformHandlerBase::setWebformSubmission in src/Plugin/WebformHandlerBase.php
Set the webform submission that this handler is handling.

File

src/Plugin/WebformHandlerInterface.php, line 322

Class

WebformHandlerInterface
Defines the interface for webform handlers.

Namespace

Drupal\webform\Plugin

Code

public function setWebformSubmission(WebformSubmissionInterface $webform_submission = NULL);