public function YamlFormSubmission::setCompletedTime in YAML Form 8
Sets the timestamp of the submission completion.
Parameters
int $timestamp: The timestamp of the submission completion.
Return value
$this
Overrides YamlFormSubmissionInterface::setCompletedTime
File
- src/
Entity/ YamlFormSubmission.php, line 255
Class
- YamlFormSubmission
- Defines the YamlFormSubmission entity.
Namespace
Drupal\yamlform\EntityCode
public function setCompletedTime($timestamp) {
$this
->set('completed', $timestamp);
return $this;
}