public function YamlFormSubmission::setChangedTime in YAML Form 8
Sets the timestamp of the last entity change for the current translation.
Parameters
int $timestamp: The timestamp of the last entity save operation.
Return value
$this
Overrides EntityChangedTrait::setChangedTime
File
- src/
Entity/ YamlFormSubmission.php, line 240
Class
- YamlFormSubmission
- Defines the YamlFormSubmission entity.
Namespace
Drupal\yamlform\EntityCode
public function setChangedTime($timestamp) {
$this
->set('changed', $timestamp);
return $this;
}