public function WebformSubmissionAjaxResponse::getWebformSubmission in Webform 8.5
Same name and namespace in other branches
- 6.x src/Ajax/WebformSubmissionAjaxResponse.php \Drupal\webform\Ajax\WebformSubmissionAjaxResponse::getWebformSubmission()
Gets the webform submission of this response.
Return value
\Drupal\webform\WebformSubmissionInterface The webform submission of this ajax request.
File
- src/
Ajax/ WebformSubmissionAjaxResponse.php, line 40
Class
- WebformSubmissionAjaxResponse
- Custom JSON response object for an ajax webform submission response.
Namespace
Drupal\webform\AjaxCode
public function getWebformSubmission() {
return $this->submission;
}