You are here

public function LingotekConfigMetadata::setLastUploaded in Lingotek Translation 3.4.x

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

Sets the timestamp for the time of the initial upload.

Parameters

int $timestamp: The unix timestamp of the event.

Return value

$this

Overrides LingotekConfigMetadataInterface::setLastUploaded

File

src/Entity/LingotekConfigMetadata.php, line 211

Class

LingotekConfigMetadata
Defines the Lingotek config metadata entity.

Namespace

Drupal\lingotek\Entity

Code

public function setLastUploaded($timestamp) {
  $this->uploaded_timestamp = $timestamp;
  return $this;
}