Add a `langcode` data type to config schema

Created on 10 July 2023, over 1 year ago
Updated 21 July 2023, over 1 year ago

Problem/Motivation

As part of 🌱 [META] Untie config validation from form validation — enables validatable Recipes, decoupled admin UIs … Active , we are going to want to validate language codes as language codes, with their own constraints, rather than as plain strings.

Steps to reproduce

N/A

Proposed resolution

Add a new langcode data type to config schema, which implements certain validation constraints that are specific to language codes.

Remaining tasks

Figure out how to implement the feature and add robust test coverage.

User interface changes

None.

API changes

TBD, but there will probably be at least one new config data type (langcode) and possibly a new validation constraint or two.

Release notes snippet

TBD

Feature request
Status

Fixed

Version

11.0 🔥

Component
Configuration 

Last updated 3 days ago

Created by

🇺🇸United States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024