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

Breadcrumb

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

function ConfigMapperInterface::setLangcode

Sets the original language code.

Parameters

string $langcode: The langcode.

Return value

$this

1 method overrides ConfigMapperInterface::setLangcode()
ConfigNamesMapper::setLangcode in core/modules/config_translation/src/ConfigNamesMapper.php
Sets the original language code.

File

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

Class

ConfigMapperInterface
Defines an interface for configuration mapper.

Namespace

Drupal\config_translation

Code

public function setLangcode($langcode);

API Navigation

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