diff --git a/core/modules/system/config/schema/system.schema.yml b/core/modules/system/config/schema/system.schema.yml index 309e73fe27326079f2f9c4b6b5dd7823d7752fb5..679dac3cc9504c1d314a07a5475541966d207c7c 100644 --- a/core/modules/system/config/schema/system.schema.yml +++ b/core/modules/system/config/schema/system.schema.yml @@ -121,6 +121,8 @@ system.date: system.diff: type: config_object label: 'Diff settings' + constraints: + FullyValidatable: ~ mapping: context: type: mapping @@ -129,9 +131,17 @@ system.diff: lines_leading: type: integer label: 'Number of leading lines in a diff' + constraints: + # @see \Drupal\Component\Diff\DiffFormatter + Range: + min: 0 lines_trailing: type: integer label: 'Number of trailing lines in a diff' + constraints: + # @see \Drupal\Component\Diff\DiffFormatter + Range: + min: 0 system.logging: type: config_object