You are here

public function LingotekContentMetadata::setLastUpdated in Lingotek Translation 3.4.x

Same name and namespace in other branches
  1. 4.0.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::setLastUpdated()
  2. 3.5.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::setLastUpdated()
  3. 3.6.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::setLastUpdated()
  4. 3.7.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::setLastUpdated()
  5. 3.8.x src/Entity/LingotekContentMetadata.php \Drupal\lingotek\Entity\LingotekContentMetadata::setLastUpdated()

Sets the timestamp for the time of the initial upload.

Parameters

int $timestamp: The unix timestamp of the event.

Return value

$this

File

src/Entity/LingotekContentMetadata.php, line 287

Class

LingotekContentMetadata
Defines the Lingotek content metadata entity.

Namespace

Drupal\lingotek\Entity

Code

public function setLastUpdated($timestamp) {
  $this->updated_timestamp->value = $timestamp;
  return $this;
}