From e140d4a00d48c3c35147f5b5bdcf7977e70d7eee Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Thu, 28 Mar 2024 09:45:18 +0000 Subject: [PATCH] Issue #3436072 by omkar.podey, narendraR: Add validation constraints to text.settings (cherry picked from commit 9555002a531e8d28802b9e7c7ecd6fae771a1d43) --- core/modules/text/config/schema/text.schema.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/modules/text/config/schema/text.schema.yml b/core/modules/text/config/schema/text.schema.yml index 8513f7aaca7..8b08b109d46 100644 --- a/core/modules/text/config/schema/text.schema.yml +++ b/core/modules/text/config/schema/text.schema.yml @@ -3,10 +3,16 @@ text.settings: type: config_object label: 'Text settings' + constraints: + FullyValidatable: ~ mapping: default_summary_length: type: integer label: 'Default summary length' + constraints: + NotNull: [ ] + Range: + min: 1 field.storage_settings.text: type: mapping