You are here

public function WebformEntityInjectionInterface::setWebformSubmission in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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\Plugin

Code

public function setWebformSubmission(WebformSubmissionInterface $webform_submission = NULL);