LanguageConfigFactoryOverride::getCacheSuffix

public 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 122

Class

LanguageConfigFactoryOverride
Provides language overrides for the configuration factory.

Namespace

Drupal\language\Config

Code

public function getCacheSuffix() {
  return $this->language ? $this->language->getId() : NULL;
}
doc_Drupal
2016-10-29 09:22:07
Comments
Leave a Comment

Please login to continue.