You are here

public function EntityChangedInterface::setChangedTime in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityChangedInterface.php \Drupal\Core\Entity\EntityChangedInterface::setChangedTime()
  2. 10 core/lib/Drupal/Core/Entity/EntityChangedInterface.php \Drupal\Core\Entity\EntityChangedInterface::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

File

core/lib/Drupal/Core/Entity/EntityChangedInterface.php, line 35

Class

EntityChangedInterface
Defines an interface for entity change timestamp tracking.

Namespace

Drupal\Core\Entity

Code

public function setChangedTime($timestamp);