Change record status: 
Project: 
Introduced in branch: 
10.3.x
Introduced in version: 
10.3.0
Description: 

All of the filter settings config schema types in Drupal core used the wrong type. Likely most contrib and custom modules providing configurable text filter plugins (i.e. filter plugins with settings and hence a config schema) copied the wrong pattern (in core, filter settings were declared to be of type: filter, which made no sense and resulted in a circular reference!). They should be fixed too.

Fixed in core:

  • filter_settings.filter_html
  • filter_settings.filter_url
  • filter_settings.media_embed
  • (test-only) filter_settings.filter_test_restrict_tags_and_attributes
Before
❌ Wrong:
filter_settings.media_embed:
  type: filter
  label: 'Media Embed'
  mapping:
    …
✅ Correct:
filter_settings.media_embed:
  type: mapping
  label: 'Media Embed'
  mapping:
    …
Impacts: 
Module developers