You are here

public function Profile::setChangedTime in Profile 2 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/Profile.php, line 214
Contains \Drupal\profile\Entity\Profile.

Class

Profile
Defines the profile entity class.

Namespace

Drupal\profile\Entity

Code

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