ConfigMapperInterface::getLangcodeFromConfig

public ConfigMapperInterface::getLangcodeFromConfig($config_name)

Returns the language code of a configuration object given its name.

Parameters

string $config_name: The name of the configuration object.

Return value

string The language code of the configuration object.

File

core/modules/config_translation/src/ConfigMapperInterface.php, line 214

Class

ConfigMapperInterface
Defines an interface for configuration mapper.

Namespace

Drupal\config_translation

Code

public function getLangcodeFromConfig($config_name);
doc_Drupal
2016-10-29 08:54:07
Comments
Leave a Comment

Please login to continue.