protected LanguageConfigCollectionNameTrait::createConfigCollectionName($langcode)
Creates a configuration collection name based on a language code.
Parameters
string $langcode: The language code.
Return value
string The configuration collection name for a language code.
File
- core/modules/language/src/Config/LanguageConfigCollectionNameTrait.php, line 19
Class
- LanguageConfigCollectionNameTrait
- Provides a common trait for working with language override collection names.
Namespace
Drupal\language\Config
Code
protected function createConfigCollectionName($langcode) { return 'language.' . $langcode; }
Please login to continue.