W3cubDocs

/Drupal 8

public function EntityChangedInterface::setChangedTime

public EntityChangedInterface::setChangedTime($timestamp)

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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityChangedInterface.php/function/EntityChangedInterface::setChangedTime/8.1.x