You are here

public function Flipbook::setChangedTime in 3D Flipbook 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 EntityChangedInterface::setChangedTime

File

src/Entity/Flipbook.php, line 161

Class

Flipbook
Defines the Flipbook entity.

Namespace

Drupal\flipbook\Entity

Code

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