You are here

public function WorkableItem::setChangedTime in Drupal PM (Project Management) 4.x

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

modules/pm_project/src/Entity/WorkableItem.php, line 218

Class

WorkableItem
Provides Workable Item.

Namespace

Drupal\pm_project\Entity

Code

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