Skip to content
Snippets Groups Projects
Unverified Commit ec3617b3 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3516520 by larowlan, wim leers, penyaskito: LanguageItem lacks a schema...

Issue #3516520 by larowlan, wim leers, penyaskito: LanguageItem lacks a schema for its default values

(cherry picked from commit bc761e4a)
parent 88dc606e
No related branches found
No related tags found
No related merge requests found
Pipeline #495802 passed with warnings
Pipeline: drupal

#495808

    ......@@ -940,6 +940,18 @@ field.value.timestamp:
    type: timestamp
    label: 'Value'
    field.value.language:
    type: mapping
    label: 'Language value'
    mapping:
    value:
    # Not this doesn't make use of type: langcode because that doesn't allow null values.
    type: string
    label: 'Language value'
    constraints:
    Choice:
    callback: 'Drupal\Core\TypedData\Plugin\DataType\LanguageReference::getAllValidLangcodes'
    # Text with a text format.
    text_format:
    type: mapping
    ......
    ......@@ -377,6 +377,7 @@ public static function providerMappingInterpretation(): \Generator {
    'field.value.decimal' => ['value'],
    'field.value.float' => ['value'],
    'field.value.timestamp' => ['value'],
    'field.value.language' => ['value'],
    'field.value.comment' => [
    'status',
    'cid',
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment