- Issue created by @dieterholvoet
- 🇧🇪Belgium dieterholvoet Brussels
Attribute-based plugins were only introduced in Drupal 10.2, so in case we backport to ^1.1 we'll need to switch to a phpdoc-based attribute.
Let's add a condition plugin that compares a certain environment variable with a certain value. This can be used in multiple places throughout core and contrib to conditionally do things.
Active
1.2
Code
Attribute-based plugins were only introduced in Drupal 10.2, so in case we backport to ^1.1 we'll need to switch to a phpdoc-based attribute.