public function LingotekInterfaceTranslationService::getLastUploaded in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 4.0.x src/LingotekInterfaceTranslationService.php \Drupal\lingotek\LingotekInterfaceTranslationService::getLastUploaded()
- 3.5.x src/LingotekInterfaceTranslationService.php \Drupal\lingotek\LingotekInterfaceTranslationService::getLastUploaded()
- 3.6.x src/LingotekInterfaceTranslationService.php \Drupal\lingotek\LingotekInterfaceTranslationService::getLastUploaded()
- 3.7.x src/LingotekInterfaceTranslationService.php \Drupal\lingotek\LingotekInterfaceTranslationService::getLastUploaded()
- 3.8.x src/LingotekInterfaceTranslationService.php \Drupal\lingotek\LingotekInterfaceTranslationService::getLastUploaded()
Returns the 'initial upload' time metadata.
Parameters
string $component: The component for which we want to get the timestamp.
Return value
int Returns the unix timestamp.
Overrides LingotekInterfaceTranslationServiceInterface::getLastUploaded
File
- src/
LingotekInterfaceTranslationService.php, line 1080
Class
- LingotekInterfaceTranslationService
- Service for managing Lingotek interface translations.
Namespace
Drupal\lingotekCode
public function getLastUploaded($component) {
$metadata = $this
->getMetadata($component);
return isset($metadata['uploaded_timestamp']) ? $metadata['uploaded_timestamp'] : NULL;
}