Issue #1919178 by vijaycs85, YesCT, sandipmkhairnar: Create configuration schemas for language module.

8.0.x
webchick 2013-03-20 18:14:42 -04:00
parent fa2795d245
commit 59d72a2cc3
1 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,47 @@
# Schema for the configuration files of the Language module.
language.detection:
type: mapping
label: 'Language detection settings'
mapping:
selected_langcode:
type: string
label: 'Selected language code'
language.negotiation:
type: mapping
label: 'Language detection methods'
mapping:
session:
type: mapping
label: 'Session'
mapping:
parameter:
type: string
label: 'Request/session parameter'
url:
type: mapping
label: 'Language from the URL (Path prefix or domain).'
mapping:
source:
type: string
label: 'Part of the URL that determines language'
prefixes:
type: sequence
label: 'Path prefix configuration'
sequence:
- type: string
label: 'Path prefix'
domains:
type: sequence
label: 'Domain configuration'
sequence:
- type: string
label: 'Domain'
language.mappings:
type: sequence
label: 'Language mapping'
sequence:
- type: string
label: 'Language'