function LocaleSource::getLastChecked
Returns the last checked timestamp.
Return value
int|null The last checked timestamp or NULL if not set.
File
-
core/
modules/ locale/ src/ LocaleSource.php, line 209
Class
- LocaleSource
- Provides the locale source services.
Namespace
Drupal\localeCode
public function getLastChecked() : ?int {
return $this->keyValueFactory
->get('locale.translation_status')
->get(static::LAST_CHECKED);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.