Missing fallback plugin configuration schemas

Created on 11 December 2015, over 9 years ago
Updated 6 July 2025, 1 day ago

Problem/Motivation

Drupal core provides schemas for the configuration of several plugins and plugin types, but fails to provide fallbacks for some of them. This means that if the schema naming format is action.configuration.*, for instance, no schema with that exact name exists to fall back to when a replacement value for that wildcard does not exist.

Proposed resolution

Add fallback schemas of type ignore. This does not change any behavior, but allows other code to safely use such schema naming formats without having to worry about whether or not a schema exists for the wildcard replacement values the code uses at that particular time. The necessary schemas are:

  • action.configuration.*
  • display_variant.plugin.*
  • condition.plugin.*
  • ckeditor.plugin.*
  • search.plugin.*
  • tour.tip.*
  • views.display.

We MUST NOT provide an actual schema, not even that of the plugin type's base class, because extending base classes is not required and we cannot assume anything about individual plugins' internal configuration.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component

configuration system

Created by

πŸ‡¬πŸ‡§United Kingdom Xano Southampton

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024