diff --git a/config/pinyin.schema.yml b/config/pinyin.schema.yml deleted file mode 100644 index d609d83849215714ded1cbdb8891e9e76d40bdb4..0000000000000000000000000000000000000000 --- a/config/pinyin.schema.yml +++ /dev/null @@ -1,7 +0,0 @@ -field.storage_settings.pinyin_shortcode: - type: field.storage_settings.string - label: 'Pinyin shortcode settings' - mapping: - max_length: - type: integer - label: 'Maximum length' diff --git a/config/schema/pinyin.schema.yml b/config/schema/pinyin.schema.yml new file mode 100644 index 0000000000000000000000000000000000000000..64161858f3c90ae436851f5c1459a5b3796c3c3f --- /dev/null +++ b/config/schema/pinyin.schema.yml @@ -0,0 +1,15 @@ +field.storage_settings.pinyin_shortcode: + type: field.storage_settings.string + label: 'Pinyin shortcode settings' + +field.field_settings.pinyin_shortcode: + type: mapping + label: 'Pinyin shortcode settings' + +field.value.uri: + type: mapping + label: 'Default value' + mapping: + value: + type: string + label: 'Value' diff --git a/pinyin.info.yml b/pinyin.info.yml index ca9456633fcf5c03721d1fe1fc3c0e73ef690e07..6c79e5b17dd99b6cb270887374d021356b7ba3f4 100644 --- a/pinyin.info.yml +++ b/pinyin.info.yml @@ -1,4 +1,5 @@ -name: Pinyin Short Code +name: Pinyin Shortcode type: module -description: 'Generate pinyin short code(拼音简码).' +description: 'Provides pinyin shortcode(拼音简码) field type.' +package: Field types core: 8.x