Change record status: 
Project: 
Introduced in branch: 
10.2.x
Introduced in version: 
10.2.0
Description: 

A new config schema data type has been added: langcode.

A langcode is defined as a string that must contain one of the language codes known to Drupal's language system. This can be a standard human language code supported by http://localize.drupal.org, like en for English or ar for Arabic. It can also be an internal language code used by core, such as und, or the language code of a custom language, if any are configured on the site.

An example of using this data type in config schema:

    default_langcode:
      type: langcode
      label: 'Default language'
Impacts: 
Module developers