Investigate using Condition Plugin API instead of custom plugins.

Created on 12 March 2024, 8 months ago
Updated 5 June 2024, 5 months ago

Today, the condition plugins which are used to apply a policy are 100% specific to Memory Limit Policy.

Drupal Core has a Condition Plugin API (used for example by the block module to manage the block visibility).

We should investigate the possibility to use the Core's API instead of custom plugins. It would reduce the amount of code in the module and makes easy ti use contrib conditions.

📌 Task
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

🇫🇷France vbouchet

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

Comments & Activities

  • Issue created by @vbouchet
  • Status changed to Closed: won't fix 5 months ago
  • 🇫🇷France vbouchet

    Investigation shows that using Condition API will drastically degrade the way policies are configured.

Production build 0.71.5 2024