You are here

public function LanguageConfigFactoryOverride::getCacheSuffix in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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
Contains \Drupal\language\Config\LanguageConfigFactoryOverride.

Class

LanguageConfigFactoryOverride
Provides language overrides for the configuration factory.

Namespace

Drupal\language\Config

Code

public function getCacheSuffix() {
  return $this->language ? $this->language
    ->getId() : NULL;
}