You are here

public function Update::setChangedTime in Update helper 8

Same name and namespace in other branches
  1. 2.x modules/update_helper_checklist/src/Entity/Update.php \Drupal\update_helper_checklist\Entity\Update::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 EntityChangedInterface::setChangedTime

File

modules/update_helper_checklist/src/Entity/Update.php, line 71

Class

Update
Defines the Contact entity.

Namespace

Drupal\update_helper_checklist\Entity

Code

public function setChangedTime($timestamp) {
  $this
    ->set('changed', $timestamp);
  return $this;
}