public function LanguageConfigFactoryOverride::getCacheSuffix in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::getCacheSuffix()
The string to append to the configuration static cache name.
Return value
string A string to append to the configuration static cache name.
Overrides ConfigFactoryOverrideInterface::getCacheSuffix
File
- core/
modules/ language/ src/ Config/ LanguageConfigFactoryOverride.php, line 127
Class
- LanguageConfigFactoryOverride
- Provides language overrides for the configuration factory.
Namespace
Drupal\language\ConfigCode
public function getCacheSuffix() {
return $this->language ? $this->language
->getId() : NULL;
}