Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConfigMapperInterface.php

function ConfigMapperInterface::getLangcode

Returns the original language code of the configuration.

Throws

\RuntimeException Throws an exception if the language codes in the config files don't match.

1 method overrides ConfigMapperInterface::getLangcode()
ConfigNamesMapper::getLangcode in core/modules/config_translation/src/ConfigNamesMapper.php
Returns the original language code of the configuration.

File

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

Class

ConfigMapperInterface
Defines an interface for configuration mapper.

Namespace

Drupal\config_translation

Code

public function getLangcode();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal