public function WebformSubmissionStorageInterface::saveData in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::saveData()
Save webform submission data to the 'webform_submission_data' table.
This method is public the allow webform handler (i.e. remote posts) to update [webform:handler] tokens stored in the submission data.
Parameters
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
bool $delete_first: TRUE to delete any data first. For new submissions this is not needed.
See also
\Drupal\webform\Plugin\WebformHandler\RemotePostWebformHandler::remotePost
1 method overrides WebformSubmissionStorageInterface::saveData()
- WebformSubmissionStorage::saveData in src/
WebformSubmissionStorage.php - Save webform submission data to the 'webform_submission_data' table.
File
- src/
WebformSubmissionStorageInterface.php, line 565
Class
- WebformSubmissionStorageInterface
- Defines an interface for webform submission classes.
Namespace
Drupal\webformCode
public function saveData(WebformSubmissionInterface $webform_submission, $delete_first = TRUE);