function LanguageConfigFactoryOverride::getCacheSuffix

Same name in other branches
  1. 8.9.x core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::getCacheSuffix()
  2. 10 core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::getCacheSuffix()
  3. 11.x core/modules/language/src/Config/LanguageConfigFactoryOverride.php \Drupal\language\Config\LanguageConfigFactoryOverride::getCacheSuffix()

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\Config

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.