LanguageConfigCollectionNameTrait::createConfigCollectionName

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;
}
doc_Drupal
2016-10-29 09:22:04
Comments
Leave a Comment

Please login to continue.