[2.0.9] Filter out noUi components

Created on 5 September 2025, 1 day ago

Problem/Motivation

In Allow SDCs to be marked to be excluded from UI Active , Core has added a noUi property:

    "noUi": {
      "type": "boolean",
      "title": "Exclude from UI",
      "description": "Use this property to exclude a component from the UI."
    },

https://git.drupalcode.org/project/drupal/-/commit/9e51e1e7c981ea22dd032...

Display Builder is already handling it in ComponentLibraryPanel

Proposed resolution

Let's handle it at the ComponentSelector level by filtering out noUi = true components.

That's important to do it at this higher level, not at the plugin discovery level, not in the plugin manager... because the component with noUi are still existing for SDC and UIP2, there are just not showing in the selector

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024