public function LingotekConfigTranslationServiceInterface::setLastUploaded in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 4.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setLastUploaded()
- 3.4.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setLastUploaded()
- 3.5.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setLastUploaded()
- 3.6.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setLastUploaded()
- 3.8.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setLastUploaded()
Updates the 'initial upload' time metadata to the current request time.
Parameters
\Drupal\Core\Config\Entity\ConfigEntityInterface $entity: The entity to which we want to save the timestamp.
int $timestamp: The timestamp we want to store.
Return value
\Drupal\Core\Config\Entity\ConfigEntityInterface Returns the entity for which timestamp is saved.
1 method overrides LingotekConfigTranslationServiceInterface::setLastUploaded()
- LingotekConfigTranslationService::setLastUploaded in src/
LingotekConfigTranslationService.php - Updates the 'initial upload' time metadata to the current request time.
File
- src/
LingotekConfigTranslationServiceInterface.php, line 786
Class
- LingotekConfigTranslationServiceInterface
- Service for managing Lingotek configuration translations.
Namespace
Drupal\lingotekCode
public function setLastUploaded(ConfigEntityInterface $entity, int $timestamp);