function CurrentImportStorage::getCacheId
Get CacheId for a given project and language.
Parameters
string $project: Project to get CacheId for.
string $langcode: Langcode to get CacheId for.
Return value
string The CacheId.
3 calls to CurrentImportStorage::getCacheId()
- CurrentImportStorage::get in core/
modules/ locale/ src/ CurrentImportStorage.php - Get current import information for a given project and language.
- CurrentImportStorage::save in core/
modules/ locale/ src/ CurrentImportStorage.php - Saves the current import information to persistent storage.
- CurrentImportStorage::updateLastChecked in core/
modules/ locale/ src/ CurrentImportStorage.php - Updates the last checked time for an import.
File
-
core/
modules/ locale/ src/ CurrentImportStorage.php, line 186
Class
- CurrentImportStorage
- Provides the locale current import state service.
Namespace
Drupal\localeCode
protected function getCacheId(string $project, string $langcode) {
return "locale_current_import:{$project}:{$langcode}";
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.