From 2256cd282ece1ed1d1bf6f5bb4069e281e6f8cc9 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Fri, 9 Feb 2024 12:04:05 +0000 Subject: [PATCH] Issue #3395627 by svendecabooter, hdnag, Wim Leers, borisson_, catch, smustgrave: Add validation constraints to field.settings --- core/modules/field/config/schema/field.schema.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/modules/field/config/schema/field.schema.yml b/core/modules/field/config/schema/field.schema.yml index a7ec988b1af9..cdd1d4bab05c 100644 --- a/core/modules/field/config/schema/field.schema.yml +++ b/core/modules/field/config/schema/field.schema.yml @@ -3,10 +3,16 @@ field.settings: type: config_object label: 'Field settings' + constraints: + FullyValidatable: ~ mapping: purge_batch_size: type: integer label: 'Maximum number of field data records to purge' + constraints: + NotNull: [] + Range: + min: 1 field.storage.*.*: type: config_entity -- GitLab