Skip to content
Snippets Groups Projects
Commit 26c13e79 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1919174 by vijaycs85, mr.york: Create configuration schemas for filter module.

parent e5ccdb40
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
# Schema for the configuration files of the Filter module.
filter.settings:
type: mapping
label: 'Filter settings'
mapping:
fallback_format:
type: string
label: 'Fallback text format'
always_show_fallback_choice:
type: boolean
label: 'Always show fallback choice'
filter.format.*:
type: mapping
label: 'Text formats'
mapping:
format:
type: string
label: 'Machine name'
name:
type: string
label: 'Name'
status:
type: boolean
label: 'Enabled'
weight:
type: integer
label: 'Weight'
roles:
type: sequence
label: 'Roles'
sequence:
- type: string
label: 'Role'
cache:
type: boolean
label: 'Cache'
filters:
type: sequence
label: 'Enabled filters'
sequence:
- type: filter
langcode:
type: string
label: 'Language'
...@@ -61,3 +61,15 @@ mail: ...@@ -61,3 +61,15 @@ mail:
"body": "body":
type: text type: text
label: "Body" label: "Body"
# Filter with module and status.
filter:
type: mapping
label: 'Filter'
mapping:
module:
type: string
label: 'Module'
status:
type: boolean
label: 'Enabled'
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