Investigate using Condition Plugin API instead of custom plugins.

Created on 12 March 2024, 4 months ago
Updated 5 June 2024, 23 days 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 23 days ago
  • πŸ‡«πŸ‡·France vbouchet

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

Production build 0.69.0 2024