public function WebformSubmission::setChangedTime in Webform 6.x
Same name and namespace in other branches
- 8.5 src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::setChangedTime()
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/ WebformSubmission.php, line 299
Class
- WebformSubmission
- Defines the WebformSubmission entity.
Namespace
Drupal\webform\EntityCode
public function setChangedTime($timestamp) {
$this
->set('changed', $timestamp);
return $this;
}