Add constraint for Current Theme Condition theme so it can be FullyValidatable

Created on 30 May 2025, 1 day ago

Problem/Motivation

Add constraint for Current Theme Condition theme so it can be FullyValidatable

Steps to reproduce

Proposed resolution

system.schema.yml has

condition.plugin.current_theme:
  type: condition.plugin
  mapping:
    theme:
      type: string
      label: Theme

it should be

condition.plugin.current_theme:
  type: condition.plugin
  constraints:
    FullyValidatable: ~
  mapping:
    theme:
      type: string
      label: Theme
      constraints:
          NotBlank: []
          ExtensionName: []
          ExtensionExists: theme

Remaining tasks

MR, with tests green.

User interface changes

None

Introduced terminology

None

API changes

None.

Data model changes

Config schema changes

Release notes snippet

None.

๐Ÿ› Bug report
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component

configuration system

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024