public function WebformSubmission::setCompletedTime in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::setCompletedTime()
Sets the timestamp of the submission completion.
Parameters
int $timestamp: The timestamp of the submission completion.
Return value
$this
Overrides WebformSubmissionInterface::setCompletedTime
File
- src/
Entity/ WebformSubmission.php, line 314
Class
- WebformSubmission
- Defines the WebformSubmission entity.
Namespace
Drupal\webform\EntityCode
public function setCompletedTime($timestamp) {
$this
->set('completed', $timestamp);
return $this;
}