Skip to content
Snippets Groups Projects
Commit d5580c8d authored by catch's avatar catch
Browse files

Issue #3395562 by Wim Leers, Eli-T, borisson_, nireneko, claudiu.cristea,...

Issue #3395562 by Wim Leers, Eli-T, borisson_, nireneko, claudiu.cristea, marvil07, smustgrave: Add validation constraints to filter.settings
parent 4f01149e
No related branches found
No related tags found
No related merge requests found
......@@ -3,10 +3,18 @@
filter.settings:
type: config_object
label: 'Filter settings'
constraints:
FullyValidatable: ~
mapping:
# @todo Simple config cannot have dependencies on any other config. Remove this in https://www.drupal.org/project/drupal/issues/1932544.
fallback_format:
type: string
type: machine_name
label: 'Fallback text format'
# Filter format machine names can be up to 255 characters.
# @see \Drupal\filter\FilterFormatFormBase::form()
constraints:
Length:
max: 255
always_show_fallback_choice:
type: boolean
label: 'Always show fallback choice'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment