You are here

public function Font::setChangedTime in @font-your-face 8.3

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

src/Entity/Font.php, line 111

Class

Font
Defines the Font entity.

Namespace

Drupal\fontyourface\Entity

Code

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