Let other modules alter the list of available condition plugins

Created on 30 August 2021, about 3 years ago
Updated 16 July 2024, 3 months ago

Problem/Motivation

Right now it's impossible to alter the list of conditions available for an asset injector. This list could grow very fast on complex projects that actively use condition plugins for other purposes.

Proposed resolution

The module could use the filtered plugin manager API already implemented by the condition plugin manager. This allows other modules to alter the list of plugins through the following core hooks:

Remaining tasks

No.

User interface changes

No.

API changes

No.

Data model changes

No.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇵🇹Portugal dmitriy.trt

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

Comments & Activities

Not all content is available!

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

  • 🇩🇪Germany Anybody Porta Westfalica

    I agree this request totally makes sense, even if it's more or less an edge-case. What do the maintainers think? @pookmish @GeekMerlin?

  • 🇩🇪Germany Anybody Porta Westfalica

    @Dmitriy.trt could you eventually provide a test or check if this is already covered by an existing test to ensure this works as expected and convince the maintainers this can be committed without risks?

Production build 0.71.5 2024